String

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 Powershell command: via multiplication: $result = "#" * 20


© Copyright SS64.com 1999-2014
Some rights reserved