StringKt extension

on

Methods

containsDigit() → bool

Available on String?, provided by the StringKt extension

Check contain digit
decodeBase64() → String?

Available on String?, provided by the StringKt extension

Decode from base64 to readable text
encodeBase64() → String?

Available on String?, provided by the StringKt extension

Encode text to Base64
isAlpha() → bool

Available on String?, provided by the StringKt extension

Check text contains only letters
isDigit() → bool

Available on String?, provided by the StringKt extension

Check text contains only digit
isEmailValid() → bool

Available on String?, provided by the StringKt extension

Check email is valid
isLowerCase() → bool

Available on String?, provided by the StringKt extension

Check all letters is lower case
isNotNullEmpty() → bool

Available on String?, provided by the StringKt extension

Check text is not null and empty
isUpperCase() → bool

Available on String?, provided by the StringKt extension

Check all letters is upper case
last() → String?

Available on String?, provided by the StringKt extension

Get last character
plus(String text) → String?

Available on String?, provided by the StringKt extension

Merge text
reversed() → String?

Available on String?, provided by the StringKt extension

Reverse text
swapCase() → String?

Available on String?, provided by the StringKt extension

Change given text case For example change lower case to upper and upper to lower ('HeLlo worLd' => 'hElLO WORlD')
toCapitalize() → String?

Available on String?, provided by the StringKt extension

Capitalize first letter
toDouble() → double?

Available on String?, provided by the StringKt extension

Parse to double
toInt() → int?

Available on String?, provided by the StringKt extension

Parse to int
toTitleCase() → String?

Available on String?, provided by the StringKt extension

Capitalizes all words