String

struct String
  • Undocumented

    Declaration

    Swift

    func trim(to maximumCharacters: Int) -> String
  • Undocumented

    Declaration

    Swift

    var trim: String { get }
  • Undocumented

    Declaration

    Swift

    var extendedTrim: String { get }
  • Undocumented

    Declaration

    Swift

    var decoded: String { get }
  • Undocumented

    Declaration

    Swift

    var tagsStripped: String { get }
  • Undocumented

    Declaration

    Swift

    func deleteTagByPattern(_ pattern: String) -> String
  • Undocumented

    Declaration

    Swift

    func replace(_ search: String, with: String) -> String
  • Undocumented

    Declaration

    Swift

    func substring(_ start: Int, end: Int) -> String
  • Undocumented

    Declaration

    Swift

    func substring(_ range: NSRange) -> String
  • Undocumented

    Declaration

    Swift

    func isValidURL() -> Bool
  • Undocumented

    Declaration

    Swift

    func isImage() -> Bool
  • Undocumented

    Declaration

    Swift

    func firstMatch(for regex: String) -> String?
  • Undocumented

    Declaration

    Swift

    subscript(range: NSRange) -> String { get }
  • Undocumented

    Declaration

    Swift

    func widthOfString(usingFont font: UIFont) -> CGFloat
  • Undocumented

    Declaration

    Swift

    func index(of string: String, options: CompareOptions = .literal) -> Index?
  • Undocumented

    Declaration

    Swift

    func endIndex(of string: String, options: CompareOptions = .literal) -> Index?