Skip to content
Claude edited this page Oct 26, 2026 · 6 revisions

String

Command Index · BlitzBasic · Strings

String string$, repeat%  ; returns String

Works in: Blitz2D, BlitzPlus, Blitz3D

Repeats a string several times.

Print String$("ab", 3)
ababab
Parameter Type Default Description
string String required The text to repeat.
repeat Int required How many copies to join. 0 gives an empty string.

Returns: The repeated text.

Related commands

Command Index · BlitzBasic · Strings

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally