Duplicate

Top  Previous  Next

Prototype

 

StrValue:=Duplicate(StrInput,IntInput)

 

Descrizption

 

Return a string of at least n characters obtained as a duplication of the input string.

 

Parameters

 

StrInput: value corresponding to string to duplicate.

 

IntInput: minimum length of the output string.

 

Returned Value

 

StrValue: value corresponding to duplicated string

 

Notes

 

None.

 

Example

 

// String output length

LungOut:=2000;

 

//Duplicate string

StrOut:=Duplicate('x',LungOut);

 

//Log the output string

ApplicationLog('The duplicated string is: '+StrOut);