Difference between revisions of "NXSL:rtrim"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Removes blanks (space and tab characters) from the right side of specified string. == Syntax == ltrim(''string''); == Parameters == :{| |- | ''string'' || Sour...")
 
Line 5: Line 5:
== Syntax ==
== Syntax ==


ltrim(''string'');
rtrim(''string'');





Revision as of 20:56, 19 December 2012

Removes blanks (space and tab characters) from the right side of specified string.


Syntax

rtrim(string);


Parameters

string Source string.


Return Value

Source string with blanks at the right side removed.


Examples

rtrim("  abc def  ")  	->	"  abc def"