en:docs:dos:cmd:basic:string

Table of Contents

STRING$

Syntax

S$ = STRING$( X, A$ )
S$ = STRING$( X, Y )

Parameters

X is a number, [0,MAXLEN] A$ is a string, LEN >= 1 Y is a number, [0,255]

Description

The string X bytes long consisting of the first character of A$.

The string X bytes long consisting of CHR$(Y).