Navigation: Function Reference > General Utility Functions > trimLeft()

trimLeft()

Top  Previous  Next

trimLeft( source: String ) : String;

 

Removes blank spaces and control characters such as linefeeds from the beginning of source.

 

Parameters

 

source

string type

 

var s: string;

 

s := '  DOG  ';

 

s := trimLeft( s );

 

//s is now equal to 'DOG  ';

 

 

 

See also:

 

trim()

trimRight()