- count
int count(string word, Character ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- join
string join(string[] parts, string glue)
Undocumented in source. Be warned that the author may not have intended to support it.
- ltrim
string ltrim(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
- ltrim
string ltrim(string s, char c)
Undocumented in source. Be warned that the author may not have intended to support it.
- padLeft
string padLeft(string string, int length, char padChar)
Undocumented in source. Be warned that the author may not have intended to support it.
- padLeft
string padLeft(string str, int length, string padString)
Undocumented in source. Be warned that the author may not have intended to support it.
- padRight
string padRight(string string, int length, char padChar)
Undocumented in source. Be warned that the author may not have intended to support it.
- padRight
string padRight(string str, int length, string padString)
Undocumented in source. Be warned that the author may not have intended to support it.
- repeat
string repeat(string s, T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- rtrim
string rtrim(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
- rtrim
string rtrim(string s, char c)
Undocumented in source. Be warned that the author may not have intended to support it.
- split
string[] split(string s, char c)
Differs from String.split() in that it behaves like PHP's explode():
If s is the same string as c, the method returns an array with two elements both containing ""
- stripTags
string stripTags(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
- unquote
string unquote(string s)
This string util method removes single or double quotes
from a string if its quoted.
for input string = "mystr1" output will be = mystr1
for input string = 'mystr2' output will be = mystr2