Create a string with a single character repeated.
Syntax
String(Number, character )
Key
Number The number of characters.
character The character to repeat.
Example
result = string(25, "#") WScript.Echo result
“If you want to marry wisely, marry your equal” ~ Spanish Proverb
Related:
StrComp - Compare two strings
Equivalent in PowerShell: via multiplication: $result = "#" * 20