Contents

replaceCharacters(in:with:)

Replaces the text in the specified range with the new string.

Declaration

optional func replaceCharacters(in range: NSRange, with string: String)

Parameters

  • range:

    The specified range of the text to replace.

  • string:

    The replacement string.

Discussion

See NSTextFinder for a complete description.

See Also

Replacing Text