JsUnit 1.3
Project Developer Home doxygen

String Class Reference

List of all members.

Detailed Description

Standard ECMA class.


Public Member Functions

void String ()
String trim (String chars)
 Trims characters from string.


Constructor & Destructor Documentation

void String::String (  ) 


Member Function Documentation

String String::trim ( String  chars  ) 

Trims characters from string.

Parameters:
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.

Returns:
String without given characters at start or end.


The documentation for this class was generated from the following file:
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Fri Oct 19 23:11:20 2007 for JsUnit by doxygen 1.5.2