Core Docs | Additional Modules Docs

String.prototype.ltrim


@Description: Trims all white space off the left side of a string
@File: String/prototype/ltrim.js
@Author: Paul Visco
@Version: 1.0 11/19/07
@Return: String The original text with whitespace removed from the left
@Example:
var myString = '           hello';

var newString = myString.ltrim();
//newString = 'hello';

//or
String.prototype.ltrim.call(myString);