String$ Function
Syntax:
String[$](Len, Char|$)
Group:
String
Description:
Return the string Len long filled with Char
or the first char of Char$.
Parameter
Description
Len Create
a string this many chars long.
Char|$ Fill the string with this char value. If this
is a number value then use the ASCII char equivalent. If this is a string
value use the first char of that string. If this value is Null
then Null is returned.
See
Also: Space$( ).
Example:
Sub Main
Debug.Print String$(4,65) '"AAAA"
Debug.Print String$(4,"ABC") '"AAAA"
End Sub