Core Function TrimLeft

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
TrimLeft( <expression>, <chars> )

Contents

Description

Strip whitespace from the start of a string.

Parameters

expression

The string to use.

chars

Optional; A string containing chars to be removed.

Return Value

Success: Returns trimmed string.

Failure: Returns old string.

Remarks

None.

Example

$str = "          The quick brown fox              ";
MsgBox(  "'"   .   TrimLeft($str)    .    "'"    );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox