SecondBASIC Documentation v3
Home
/
Function Reference
/
Left$()
Left$()
Description:
Returns a string that contains the specified number of characters from the left side of a string.
Syntax:
Left$(<string>,<length>)
Part
Description
<string>
Required. The string expression from which the rightmost characters are returned.
<length>
Required. The length of characters to return.
Example:
a$ = "Hello World"
Print Left$(a$, 5)