-
Notifications
You must be signed in to change notification settings - Fork 0
Static Methods
Gavin-Song edited this page Feb 18, 2018
·
2 revisions
Remember: All String methods are also copied over (Any String method that previously returned String now returns SuperString)
Escapes the regex with slashes. Example:
SuperString.escapeRegex("\\d+"); // "\\d\+"Converts a String[] to a SuperString[]
Converts a SuperString[] to a String[]
Takes an array of words and converts it to an english sentence. Example:
SuperString.toSentence("flour", "eggs", "bread"); // "flour, eggs, and bread"