Cicode Programming Reference > Cicode Function Categories > String Functions Introduction > StrFill

StrFill

Fills a string with a number of occurrences of another string.

Syntax

StrFill(String, Length)

String:

The string to be repeated.

Length:

The length of the string.

Return Value

The filled string.

Related Functions

StrPad

Example

Variable=StrFill("abc",10);
! Sets Variable to "abcabcabca".
Variable=StrFill("x",10);
! Sets Variable to "xxxxxxxxxx".

See Also

String Functions