String()

Top  Previous  Next

String() - Creates a repeated character string

Description

The String() function creates a string of optional length filled with the specified character.

String(length, character)

Example

MyString = String(3, "T") 'returns 'TTT'

MyString = String(5, "?") 'returns '?????'