EXAMPLE: LEFT$ (“ABCDEF”, 3)
PARAMETERS:
1. String: string expression
2. Number of characters: numeric expression truncated to an integer in the [0 ,
256[ range.
EXPLANATION:
1. Returns the substring of a specified length from the left of a string.
2. The entire string is returned when the specified number of characters is
greater than the number of characters of the string.
SEE: MID$, RIGHT$
LEN
PURPOSE: Returns a value that represents the number of characters contained in a
string.
FORMAT:
EXAMPLE: LEN (A$)
PARAMETERS: String : string expression
EXPLANATION:
Returns a value that represents the number of characters contained in a string,
including characters that don’t appear on the display (character codes from &H0 -
&H1F) and spaces.