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...")
 
Line 10: Line 10:
== Parameters ==
== Parameters ==


:{|
:{| class="wikitable"
|-
|-
| ''string'' || Source string.
| ''string'' || Source string.

Revision as of 13:22, 22 November 2017

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"