Dupl Procedure

Returns a string where the string s is duplicated lcount times.

Syntax

[ sRet = ] Dupl ( s, lCount )

The Dupl procedure syntax has the following parts:

Name

Type

Description

sRet

BString

Result string

s

Val BString

Input string

lCount

Val Long

Number of duplications

Comments

The parameter lCount gives the number of times the string s is duplicated.

Example

The following example duplicates the string "Abc" four times:

s = Dupl("Abc", 4)

! now s is "AbcAbcAbcAbc"

See Also

Spaces