Table of Contents

ugBASIC User Manual

STRING ✓

SYNTAX

   = STRING( text, repetitions )

PURPOSE

This function can be used to create a new string filled with the required number of copies of the first character from an existing string.

EXAMPLE

  x = STRING( "A", 42 )

See also the following example files:

ABBREVIATION

 S1

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY