Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$REPEAT^XLFSTR(): Repeat String

Reference Type: Supported, Category: String Functions, Integration Agreement: 10104


This extrinsic function returns a string that repeats the value of x for y number of times.



Input Parameters


(required) Character string to be repeated.


(optional) Number of times to repeat the string in x.



Returns the repeated string.

Example 1

>S X=$$REPEAT^XLFSTR("-",10)

>W X

Example 2

>S X=$$REPEAT^XLFSTR("blue water ",5)

>W X
blue water blue water blue water blue water blue water

VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.