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

trimRight()

Top  Previous  Next

trimRight( source: String ) : String;

 

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

 

Parameters

 

source

string type

 

var s: string;

 

s := '  DOG  ';

 

s := trimRight( s );

 

//s is now equal to '  DOG';

 

 

See also:

 

trim()

trimLeft()