replaceAll(searchQuery:replacementString:options:)
Replaces all matching instances of the query string with the replacement string you provide.
Declaration
func replaceAll(searchQuery: String, replacementString: String, options: UITextSearchOptions?)Parameters
- searchQuery:
The string to search for and replace, the user provides through the search text field of the system find panel.
- replacementString:
The replacement string, the user provides through the replace text field of the system find panel.
- options:
The object containing all the configurable options for the search.