![]() ![]() |
Reference Type: Supported, Category: String Functions, ICR#: 10104
The $$REPEAT^XLFSTR extrinsic function returns a string that repeats the value of x for y number of times.
$$REPEAT^XLFSTR(x[,y])
x: |
(required) Character string to be repeated. |
y: |
(optional) Number of times to repeat the string in x. |
returns: |
Returns the repeated string. |
>S X=$$REPEAT^XLFSTR("-",10) >W X ---------- |
>S X=$$REPEAT^XLFSTR("blue water ",5) >W X blue water blue water blue water blue water blue water |