|
How to: |
|
Reference: |
The STRREP replaces all instances of a specified string within a source string. It also supports replacement by null strings.
STRREP (inlength, instring, searchlength, searchstring, replength, repstring, outlength, output)
where:
Numeric
Is the number of characters in the source string.
Alphanumeric
Is the source string.
Numeric
Is the number of characters in the (shorter length) string to be replaced.
Alphanumeric
Is the character string to be replaced.
Numeric
Is the number of characters in the replacement string. Must be zero (0) or greater.
Alphanumeric
Is the replacement string (alphanumeric). Ignored if replength is zero (0).
Numeric
Is the number of characters in the resulting output string. Must be 1 or greater.
Alphanumeric
The maximum string length is 4095.
| WebFOCUS | |
|
Feedback |