JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
String Class Reference

Standard ECMA class. More...

Collaboration diagram for String:
Collaboration graph

Public Member Functions

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

Detailed Description

Standard ECMA class.

Constructor & Destructor Documentation

void String::String ( )

Member Function Documentation

String String::trim ( String  chars)

Trims characters from string.

Parameters
charsString 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 Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5