Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Function Declaration
-
Function Left(String, Length As Long)
|
Parameter |
Description |
|---|---|
|
String |
String expression from which the leftmost characters are returned. If string contains Null, Null is returned. |
|
Length |
Long containing a Numeric expression indicating how many characters to return. If it equals the data value 0, a zero-length string ("") is returned. If it’s greater than or equal to the number of characters in String, the entire string is returned. |
Runtime Semantics.
§ Returns a String containing a specified number of characters from the left side of a string.
§ Note: use the LeftB function with byte data contained in a string. Instead of specifying the number of characters to return, length specifies the number of bytes.