left
|
|
string
|
|
String from which the leftmost characters are returned. If not string, converted to string.
|
|
length
|
|
Number of characrers to return. If not integer, converted to integer.
|
If length less than 1, empty string is returned.
|
If length greater than or equal to the number of characters in string, the entire string is returned.
|
a = left("Hello", 3)
|
' Returns "Hel".
|
a = left("Hello", 50)
|
' Returns "Hello".
|
a = left("Hello", -50)
|
' Returns "".
|
|