Core Function Left
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> Left( <expression>, <count> ) </pre> === Description === Returns a number of characters from the left-hand side of a string. === Parameters === ==== expression ==== Th...")
(Created page with "<pre> Left( <expression>, <count> ) </pre> === Description === Returns a number of characters from the left-hand side of a string. === Parameters === ==== expression ==== Th...")
Latest revision as of 14:04, 2 December 2011
Left( <expression>, <count> )
Contents |
Description
Returns a number of characters from the left-hand side of a string.
Parameters
expression
The string to evaluate.
count
The number of characters to get.
Return Value
Success: Returns new string.
Failure: Returns empty string.
Remarks
None.
Example
$result = Left("I'm a string", 3); MsgBox("Leftmost 3 characters are: $result");