From http://www.w3schools.com (Copyright Refsnes Data)
Complete VBScript Reference
The String function returns a string that contains a repeating character of a specified length.
| String(number,character) |
| Parameter | Description |
|---|---|
| number | Required. The length of the returned string |
| character | Required. The character that will be repeated |
|
document.write(String(10,"#")) Output: ########## |
|
document.write(String(4,"*")) Output: **** |
|
document.write(String(4,42)) Output: **** |
|
document.write(String(4,"XYZ")) Output: XXXX |
Complete VBScript Reference
From http://www.w3schools.com (Copyright Refsnes Data)