String extends Object



Properties
Integer length
the length of this string

Operations
String toUpperCase()
Converts all of the characters in this String to upper case using the rules of the default locale (from Java)
String toLowerCase()
Converts all of the characters in this String to lower case using the rules of the default locale (from Java)
List[String] split(String)
Splits this string around matches of the given regular expression (from Java 1.4)
String trim()
Returns a copy of the string, with leading and trailing whitespace omitted. (from Java 1.4)
String +(Object)
concatenates two strings
String replaceAll(String,String)
Replaces each substring of this string that matches the given regular expression with the given replacement.
String subString(Integer,Integer)
Tests if this string ends with the specified prefix.
Boolean endsWith(String)
Tests if this string ends with the specified prefix.
Integer asInteger()
Returns an Integer object holding the value of the specified String (from Java 1.5)
Boolean contains(String)
Tests if this string contains substring.
String toFirstUpper()
Converts the first character in this String to upper case using the rules of the default locale (from Java)
String toFirstLower()
Converts the first character in this String to lower case using the rules of the default locale (from Java)
String replaceFirst(String,String)
Replaces the first substring of this string that matches the given regular expression with the given replacement.
Boolean startsWith(String)
Tests if this string starts with the specified prefix.
List[String] toCharList()
splits this String into a List[String] containing Strings of length 1
Boolean matches(String)
Tells whether or not this string matches the given regular expression. (from Java 1.4)