REPEAT
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns a character string composed of string_exp repeated count times.
Syntax
|
Notes
- The string_exp can
be of the type fixed-length or variable-length
CHARACTER. - The count can be of type
INTEGER,SMALLINT, orTINYINT. - If any of the arguments of the expression evaluates to a
NULL, the result isNULL. - If the count is negative or zero, the result evaluates to
NULL. - string_exp and the result can contain multi‑byte characters.
Example
The
following example shows how to use the REPEAT function:
|
Compatibility
ODBC compatible