CFStringReplaceAll(_:_:)
Replaces all characters of a CFMutableString object with other characters.
Declaration
func CFStringReplaceAll(_ theString: CFMutableString!, _ replacement: CFString!)Parameters
- theString:
The string to modify. If this value is not a CFMutableString object, an assertion is raised.
- replacement:
The replacement string to put into
theString.
Discussion
The character buffer of theString is resized according to the length of the new characters.
See Also
CFMutableString Miscellaneous Functions
CFStringAppend(_:_:)CFStringAppendCharacters(_:_:_:)CFStringAppendCString(_:_:_:)CFStringAppendFormatAndArguments(_:_:_:_:)CFStringAppendPascalString(_:_:_:)CFStringCapitalize(_:_:)CFStringCreateMutable(_:_:)CFStringCreateMutableCopy(_:_:_:)CFStringCreateMutableWithExternalCharactersNoCopy(_:_:_:_:_:)CFStringDelete(_:_:)CFStringFindAndReplace(_:_:_:_:_:)CFStringFold(_:_:_:)CFStringInsert(_:_:_:)CFStringLowercase(_:_:)CFStringNormalize(_:_:)