String
extension String
extension String: Error
-
Undocumented
Declaration
Swift
func firstLineString() -> String?
-
Undocumented
Declaration
Swift
func withoutFirstLine() -> String
-
Undocumented
Declaration
Swift
var isOnlyWhitespace: Bool { get }
-
Undocumented
Declaration
Swift
func replacePartsMatchingExpression(_ exp: NSRegularExpression, with string: String) -> String
-
Undocumented
Declaration
Swift
func removePartsMatchingExpression(_ exp: NSRegularExpression) -> String
-
Undocumented
Declaration
Swift
func sha256() -> String
-
Undocumented
Declaration
Swift
func test(_ pattern: String, _ options: String = "i") -> Bool
-
Undocumented
Declaration
Swift
mutating func replace(_ pattern: String, with: String = "")
-
Undocumented
Declaration
Swift
func match(_ pattern: String, _ options: String = "i") -> [String]
-
Undocumented
Declaration
Swift
func substr(_ startIndex: Int, _ length: Int? = nil) -> String
-
Undocumented
Declaration
Swift
func replace(_ target: String, _ withString: String) -> String
-
Undocumented
Declaration
Swift
func camelCaseToWords() -> String
-
Undocumented
Declaration
Swift
public func titleCase() -> String
-
Undocumented
Declaration
Swift
var nilIfBlank: String? { get }
-
Undocumented
Declaration
Swift
var nilIfBlankOrSingleLine: String? { get }
-
Undocumented
Declaration
Swift
func strippingHTMLtags() -> String
-
Undocumented
Declaration
Swift
func escapeForJavascript() -> String