LEFT$
<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > String functions > LEFT$ |
Description
FAST version of LEFT$ function working on scalar string variable only!
Return the left-most n characters of a string.
Syntax
s = LEFTF$(StringVariable, nChars)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
StringVariable |
Variable |
No |
IMPORTANT: a scalar string variable.
This parameter can only be: •a single global or local string variable •a string element of a user defined type (UDT)
|
nChars |
Numeric |
No |
Number of chars to return |
Remarks
Restrictions
See also
String Handling, RIGHT$, MID$,
Examples