left()

Syntax:

left( String, Chars )

Return:

A string consisting of the given number of characters from the left end of the string.

Parameters:

String - The String can be a string of text surrounded by quote marks or a variable name containing a string.

Chars - The number of characters from the left of the String to return in the Return Value. Chars can be a number or a variable name containing a number.

Remarks:

If the number of characters specified is more than the length of the string the whole string is returned. Both parameters are required.

image\Script_Button.jpgExamples