Difference between revisions of "NXSL:ltrim"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Removes blanks (space and tab characters) from the left size of specified string. == Syntax == ltrim(''string''); == Parameters == :{| |- | ''string'' || Sourc...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Removes blanks (space and tab characters) from the left size of specified string.
Removes blanks (space and tab characters) from the left side of specified string.




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


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


  ltrim("  abc  ")  -> "abc  "
  ltrim("  abc def ")  -> "abc def "

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 the left side of specified string.


Syntax

ltrim(string);


Parameters

string Source string.


Return Value

Source string with blanks at the left side removed.


Examples

ltrim("  abc def  ")  	->	"abc def  "