NXSL:trim

Revision as of 22:56, 19 December 2012 by Victor (talk | contribs) (Created page with "__NOTOC__ Removes blanks (space and tab characters) from both sides of specified string. == Syntax == trim(''string''); == Parameters == :{| |- | ''string'' || Source st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"