A collection of conditional functions to work with Strings.
Apply String.repeat if the first condition is met.
Apply String.replace if the first condition is met.
Add two Strings if the first parameter evalutes to True, otherwise the second defines the result
Add two Strings if the first one is not of type Nothing
Add the first String to the end of the second one, if the first parameter evalutes to True.
Add the first String to the end of the second one, if it is not of type Nothing.
Apply String.slice if the first condition is met.
Apply String.left if the first condition is met.
Apply String.right if the first condition is met.
Apply String.dropLeft if the first condition is met.
Apply String.dropRight if the first condition is met.
Apply String.cons if the first condition is met.
Cosmetic operations such as padding with extra characters or trimming whitespace.
Apply String.toUpper if the first condition is met.
Apply String.toLower if the first condition is met.
Apply String.pad if the first condition is met.
Apply String.padLeft if the first condition is met.
Apply String.padRight if the first condition is met.
Apply String.trim if the first condition is met.
Apply String.trimLeft if the first condition is met.
Apply String.trimRight if the first condition is met.
Apply String.map if the first condition is met.
Apply String.filter if the first condition is met.
Apply String.reverse if the first condition is met.