This function retains the specified number of characters on the left side of a string and removes the remaining characters on the right side of the string.
Left(string, length)
Returns a string.
Use the Len function to determine the number of characters in a string.
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.