SecondBASIC Documentation v3

Home / Function Reference / String$()

String$()

Description: Returns a string of <character> that is <length> long.

Syntax:

String$(<character>,<length>)

Part Description
<character> Required. This is the character to be repeated in the string.
<length> Required. This is the length of the string.

Example:

        b$ = String$("0", 5)
        Print b$