Java Reference
In-Depth Information
Returns the substring that appears in the character sequence after the
sequence to match passed as a parameter. If no match is found, an empty String
is returned.
log ('test'.substringAfter('s'));
result: t
toLower
String ::toLower () : String
Returns a String with all characters from the original converted to their low-
ercase equivalents. For example, the following String outputs what follows to the
console:
log ('RemovE tHe UpPerCaSe ChAracterS'.toLower());
result: remove the uppercase characters
Note that M2M QVT OML provides a synonym operation toLowerCase()
as well.
toUpper
String ::toUpper () : String
Returns a String with all characters from the original converted to their
uppercase equivalents. For example, the following String outputs what follows
to the console:
log ('RemovE tHe LoWerCaSe ChAracterS'.toLower());
result: REMOVE THE LOWERCASE CHARACTERS
Note that M2M QVT OML provides a synonym operation toUpperCase()
as well.
firstToUpper
String ::firstToUpper () : String
Search WWH ::




Custom Search