String Function

 

String ( numeric, charcode )

 

String returns a string.

 

String is used to create a string that consists of one character repeated over and over.

 

Related topics: Space Function

 

 

Example:

Sub Main

 

    Dim MString

    MString = String(5, "*")   ' Returns "*****".

    MString = String(5, 42) ' Returns "44444".

    MString = String(10, "Today")  ' Returns "TTTTTTTTTT".

    Print MString

End Sub