Difference between revisions of "NXSL:trim"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Removes blanks (space and tab characters) from both sides of specified string. == Syntax == trim(''string''); == Parameters == :{| |- | ''string'' || Source st...")
(No difference)

Revision as of 22:56, 19 December 2012

Removes blanks (space and tab characters) from both sides of specified string.


Syntax

trim(string);


Parameters

string Source string.


Return Value

Source string with blanks at both sides removed.


Examples

trim("  abc def  ")  	->	"abc def"