Create a string with a single character repeated.
Syntax String(Number, character ) Key Number The number of characters. character The character to repeat.
result = string(25, "#") WScript.Echo result
“If you want to marry wisely, marry your equal” ~ Spanish Proverb
StrComp - Compare two strings
Equivalent Powershell command: via multiplication: $result = "#" * 20
© Copyright SS64.com 1999-2013
Some rights reserved