LEFT keyword
Returns a number of characters from the left of a string.
Syntax
LEFT (string, length)
Parameters
- string: a string variable (required)
- length: number of chars (required)
Example
myString = LEFT(myString, 3) 'Gets first 3 chars
myString = LEFT(myString, LEN(myString)-1) 'Removes last char
Go back to list of Keywords.