JsUnit |
Standard ECMA class. More...
Public Member Functions | |
void | String () |
String | trim (String chars) |
Trims characters from string. More... | |
Standard ECMA class.
void String::String | ( | ) |
Trims characters from string.
chars | String with characters to remove. The character may also be a regular expression character class like "\\s" (which is the default). |
The function removes the given characters chars from the beginning an the end from the current string and returns the result. The function will not modify the current string.
The function is written as String enhancement and available as new member function of the class String.
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
|
Generated on Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5
|