Core Function TrimLeft

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> TrimLeft( <expression>, <chars> ) </pre> === Description === Strip whitespace from the start of a string. === Parameters === ==== expression ==== The string to use. =...")
Newer edit →

Revision as of 19:24, 1 December 2011

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 1.

Failure: Returns 0.

Remarks

None.

Example

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