String

extension String

Helpers on String to provide Int based subscription features and easier usage

  • Shorter syntax for trimming

    Declaration

    Swift

    func trim() -> String

    Return Value

    The String without the prefix and postfix whitespace characters