LEFT$ function
Purpose: LEFT$ returns the leftmost substring of a string.
Syntax: SubStr$ = LEFT$(MainStr$, Length%) Parameters:
Return Value:
|
Example:
DIMRetStr$ RetStr$=LEFT$("abcdefg",4)
Result:
abcd
BCX Console Sample Programs using LEFT$ function.