String$()

Syntax

String$(Count, Source$)

String$(Count, CharCode)

Remarks

Returns the first character in Source$ or the character corresponding to the character code CharCode, repeated Count times. Count can be as large as 65,280.

Examples

This instruction prints the text "ddddd" in the status bar:


Print String$(5, 100)

This example inserts a row of 40 characters with the character code 164 before the first selected paragraph:


SelType 1 : ParaDown : ParaUp    'Go to start of paragraph
Insert String$(40, 164)            'Insert character string
InsertPara                        'Insert a paragraph mark

See Also

Asc(), Chr$(), InStr(), Str$()