String
struct String
-
Returns a localized version of the string If no localized version was found in the main bundle’s Localizable.strings file, it uses the ResourcesBundle to find a translation
Declaration
Swift
var localized: String -
Validates e-mail - returns: bool - result of the validation
Declaration
Swift
func isValidEmail() -> BoolReturn Value
bool - result of the validation
-
Returns a new sting with leading and trailing spaces removed from the original.
Declaration
Swift
func trim() -> String -
Returns a new sting with the capitalized first letters of the first two contained words. (Reserves order)
Declaration
Swift
func monogram() -> String
View on GitHub
String Extension Reference