|
How to: |
The OVRLAY function overlays a base character string with a substring. The function enables you to edit part of an alphanumeric field without replacing the entire field.
OVRLAY(source_string, length, substring, sublen, position, output)
where:
Alphanumeric
Is the base character string.
Integer
Is the number of characters in source_string and output. If this argument is less than or equal to 0, unpredictable results occur.
Alphanumeric
Is the substring that will overlay source_string.
Integer
Is the number of characters in substring. If this argument is less than or equal to 0, the function returns spaces.
Integer
Is the position in source_string at which the overlay begins. If this argument is less than or equal to 0, the function returns spaces. If this argument is larger than stringlen, the function returns the source string.
Alphanumeric
Note that if the overlaid string is longer than the output field, the string is truncated to fit the field.
| WebFOCUS | |
|
Feedback |