03-05-2012, 05:37 PM
(03-02-2012, 04:35 PM)inborntester Wrote: String(n,"*")
The following example uses the String function to return repeating character strings of the length specified:
Code:
Dim MyString
MyString = String(5, "*") ' Returns "*****".
MyString = String(5, 42) ' Returns "*****".
MyString = String(10, "ABC") ' Returns "AAAAAAAAAA".