strings library

Functions

camelize(String string, [bool lower = false]) String
Returns a string in the form "UpperCamelCase" or "lowerCamelCase".
capitalize(String string) String
Returns a string with capitalized first character.
escape(String string, [String encode(int charCode)?]) String
Returns an escaped string.
isLowerCase(String string) bool
Returns true if the string does not contain upper case letters; otherwise false;
isUpperCase(String string) bool
Returns true if the string does not contain lower case letters; otherwise false;
join(List list, [String separator = '']) String
Returns the joined elements of the list if the list is not null; otherwise null.
reverse(String string) String
Returns a string with reversed order of characters.
startsWithLowerCase(String string) bool
Returns true if the string starts with the lower case character; otherwise false;
startsWithUpperCase(String string) bool
Returns true if the string starts with the upper case character; otherwise false;
toPrintable(String string) String
Returns an unescaped printable string.
toUnicode(int charCode) String
Returns an Unicode representation of the character code.
underscore(String string) String
Returns an underscored string.