Syntax

result = STRING$(character, number)

Arguments

result, character: text

number: integer

Meaning

Generates a character string of number times character.

Example

result = STRING$('a', 5)

Result

result will be 'aaaaa'.