- join
Returns a String formed by the delimited results of calling toString over a
collection.
- split
Returns a list of tokens delimited by delim in String str. eg.
split("abc@#def@#", "@#") returns a 3
- capitalise
Returns a capitalised version of the given String
- countOccurances
Returns the number of occurances of str in target
- reverseCapitalisation
Reverses the capitalisation of the first character of the given String.
- tokenize
Returns a list of tokens delimited by comma. Useful for queries.
- prettyList
Take a collection of Strings and return a combined string as a comma separated
list with 'and' betwe
- decapitalise
Returns a decapitalised version of the given String unless string is an acronym.
Gene to gene Protei
- duplicateQuotes
Duplicates single quotes in Strings for correct storage in postgres.
- trimSlashes
Trim starting and trailing '/' characters from a string if present.
- uniqueString
Returns a String that is different every time
- wrapLines
Wraps the given String into several lines and ultimately truncates it with an
ellipsis.