String(asciiCode, length)

Creates a String of the specified length with the given ASCII code repeated for the length of the String.

Dim ST1 As String * 12
ST1 = String(&H41,5)
Debug ST1         ' AAAAA is printed.   
                  ' &H41 is ASCII code for character A.

Go CUBLOC home