CST2601 Visual
Basic I
Notes on Left Function
Left FunctionReturns a Variant (String) containing a specified number of characters from the left side of a string. Syntax Left(string, length) The Left function syntax has these named arguments:
Remarks To determine the number of characters in string, use the Len function. 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. Left Function ExampleThis example uses the Left function to return a specified number of characters from the left side of a string.
|