Copyright © Cloud Software Group, Inc. All Rights Reserved |
Returns the result of removing the specified leading and trailing characters from the specified string. (F)
On return, contains the peeled string. Its syntax can be C (fixed-length character string), V (variable-length character string), or W (double-byte character). The string from which to peel the characters. Its syntax can be either C, V, or W.
• PEEL examines both the front and the back of string, and peels each character that matches one of the characters in peelchars. The peeling continues until a non-peel character is encountered.
• PEEL does not alter the value of string.The following rule peels characters from a string and prints both the original string and the peeled string to the message log:
Copyright © Cloud Software Group, Inc. All Rights Reserved |