String

struct String
  • A String divider line

    Declaration

    Swift

    static var dividerLine: String { get }
  • Drop suffix from String

    Declaration

    Swift

    func drop(suffix: String) -> String

    Parameters

    suffix

    The suffix that should be removed

    Return Value

    The String without suffix

  • Drop Whitespaces

    Declaration

    Swift

    func dropWhitespaces() -> String

    Return Value

    The updated String with no whitespaces