Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

GLM.String.trim()

GLM.String.trim()

Method for removing white space from the beginning and end of the string.

Returns:

The trimmed string.

Example:

var s = new GLM.String(" hello world ");
var b = s.trim(); //returns "hello world"



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES