String
public extension String
extension String: CSAnyProtocol
-
Undocumented
Declaration
Swift
static let newLine: String
-
Undocumented
Declaration
Swift
static func randomString(length: Int) -> String
-
Undocumented
Declaration
Swift
var isSet: Bool { get }
-
Undocumented
Declaration
Swift
var isNotEmpty: Bool { get }
-
Undocumented
Declaration
Swift
var length: Int { get }
-
Undocumented
Declaration
Swift
var asNSString: NSString { get }
-
Undocumented
Declaration
Swift
var boolValue: Bool { get }
-
Undocumented
Declaration
Swift
var doubleValue: Double { get }
-
Undocumented
Declaration
Swift
var intValue: Int { get }
-
Undocumented
Declaration
Swift
var floatValue: Float { get }
-
Undocumented
Declaration
Swift
func trim() -> String
-
Undocumented
Declaration
Swift
func removeAccents() -> String
-
Undocumented
Declaration
Swift
func substring(from index: Int) -> String
-
Undocumented
Declaration
Swift
func substring(to index: Int) -> String
-
Undocumented
Declaration
Swift
func substring(from: Int, to: Int) -> String
-
Undocumented
Declaration
Swift
func substring(_ range: ClosedRange<Int>) -> String
-
Undocumented
Declaration
Swift
var deleteLastPathComponent: String { get }
-
Undocumented
Declaration
Swift
@inlinable func stringIndex(at: String.IndexDistance) -> String.Index
-
Undocumented
Declaration
Swift
func index(of string: String, from: Int) -> Int?
-
Undocumented
Declaration
Swift
func index(of string: String) -> Int?
-
Undocumented
Declaration
Swift
func contains(_ string: String, ignoreCase: Bool = false) -> Bool
-
Undocumented
Declaration
Swift
func ends(with value: String) -> Bool
-
Undocumented
Declaration
Swift
func starts(with value: String) -> Bool
-
Undocumented
Declaration
Swift
func remove(_ string: String) -> String
-
Undocumented
Declaration
Swift
func remove(all string: String) -> String
-
Undocumented
Declaration
Swift
func replace(all string: String, with replace: String) -> String
-
Undocumented
Declaration
Swift
func replace(range: NSRange, with string: String) -> String
-
Undocumented
Declaration
Swift
func attributed(_ dictionary: [NSAttributedString.Key : Any] = [:]) -> NSAttributedString
-
Undocumented
Declaration
Swift
func split(by separator: String) -> [String]
-
Undocumented
Declaration
Swift
func indices(of occurrence: String) -> [Int]
-
Undocumented
Declaration
Swift
func ranges(of searchString: String) -> [Range<String.Index>]
-
Undocumented
Declaration
Swift
func findTags(startTag: String, endTag: String, where condition: ((_ tag: String) -> Bool)? = nil) -> [TagIndex]
-
Undocumented
Declaration
Swift
func process(startTag: String, endTag: String, with function: (_ startTagIndex: Int, _ endTagIndex: Int) -> ())
-
Undocumented
Declaration
Swift
func htmlToText(_ encoding: String.Encoding) -> String?
-
Undocumented
Declaration
Swift
func replaceTagsWithEmptySpace(startTag: String, endTag: String) -> String
-
Undocumented
Declaration
Swift
static let cs_dialog_ok: String
-
Undocumented
Declaration
Swift
static let cs_dialog_yes: String
-
Undocumented
Declaration
Swift
static let cs_dialog_no: String
-
Undocumented
Declaration
Swift
static let cs_dialog_cancel: String
-
Undocumented
Declaration
Swift
static let requestRetry: String
-
Undocumented
Declaration
Swift
static let requestCancel: String
-
Undocumented
Declaration
Swift
static let requestFailed: String
-
Undocumented
Declaration
Swift
static let requestLoading: String
-
Undocumented
Declaration
Swift
static let tableLoadNextFailed: String
-
Undocumented
Declaration
Swift
static let operationCancelled: String
-
Undocumented
Declaration
Swift
static let operationFailed: String
-
Undocumented
Declaration
Swift
static let searchPlaceholder: String
-
Undocumented
Declaration
Swift
static let dummy_number: String
-
Undocumented
Declaration
Swift
static let dummy_word: String
-
Undocumented
Declaration
Swift
static let dummy_two_word: String
-
Undocumented
Declaration
Swift
static let dummy_short: String
-
Undocumented
Declaration
Swift
static let dummy_medium: String
-
Undocumented
Declaration
Swift
static let dummy_long: String
-
Undocumented
Declaration
Swift
static let dummy_complete: String