StringExtension extension

on

Properties

isAllEmpty bool
Detects whether the string is empty.
no setter
isEnglish bool
Detects whether the string is english alphabet.
no setter

Methods

toBool() bool
Converts the string to boolean.
toCapitalized() String
Converts the string to first character upper case. hello world -> Hello world
toCapitalizedWithSpace() String
Converts the string to title case with spaces.
toTitleCase() String
Converts the string to title case.