SecondBASIC Documentation v3

Home / Function Reference / Right$()

Right$()

Description: Returns a string that contains the specified number of characters from the right side of a string.

Syntax:

Right$(<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 Right$(a$, 5)