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...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Removes blanks (space and tab characters) from both sides of specified string.
Removes blanks (space and tab characters) from both sides of specified string.


Line 10: Line 10:
== Parameters ==
== Parameters ==


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

Latest revision as of 16:13, 13 September 2022

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"