NXSL:trim

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

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"