|
|
|
|
|
- Function RepeatString and Unicode (syntax 1)
RepeatString (Function) In french: Répète Concatenates N number of copies of the same specified string or buffer.
Res = RepeatString("x", 4)
Res = RepeatString("Boby", 2)
Res = RepeatString("", 2)
Res = RepeatString("", 0)
Syntax
Concatenating N number of copies of the same character string Hide the details
<Result> = RepeatString(<Initial string> , <Number of copies>)
<Result>: Character string - New string containing the specified number of copies of the initial string,
- Empty string ("") if <Number of copies> is negative or null.
<Initial string>: Character string Character string to repeat. <Number of copies>: Integer Number of times the <Initial string> must be repeated.
Concatenating N number of copies of the same buffer Hide the details
<Result> = RepeatString(<Initial buffer> , <Number of copies>)
<Result>: Buffer - New buffer containing the specified number of copies of the initial buffer,
- Empty buffer if <Number of copies> is negative or null.
<Initial buffer>: Buffer Buffer to repeat. <Number of copies>: Integer Number of times the <Initial buffer> must be repeated. Remarks Function RepeatString and Unicode (syntax 1) If the string passed as a parameter is an ANSI string, the result will be an ANSI string. If the string passed in parameter is in Unicode format, the result will be in Unicode format. Note If the result of the RepeatString function used on an ANSI string is assigned to a Unicode string (and vice versa), ANSI/Unicode conversion will be implicitly performed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|