Contents

CFStringTrimWhitespace(_:)

Trims whitespace from the beginning and end of a CFMutableString object.

Declaration

func CFStringTrimWhitespace(_ theString: CFMutableString!)

Parameters

  • theString:

    The string to trim. If this value is not a CFMutableString object, an assertion is raised.

Discussion

Whitespace for this function includes space characters, tabs, newlines, carriage returns, and any similar characters that do not have a visible representation.

See Also

CFMutableString Miscellaneous Functions