Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print as per the value entered for the variable.
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
(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".
Reply


Messages In This Thread
RE: Print as per the value entered for the variable. - by swathi - 03-05-2012, 05:37 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)