From: J L. T. <jlt...@ma...> - 2023-01-11 04:30:50
|
Hi, In pipeline stage 'inside' I need to match strings that contain /. I tried using ! and %, but they don't seem to work. What are safe string delimiters to use in a netrexx pipeline? Can they be any character that does not appear in the string, or are there restrictions? Hopefully it works the same way as CMS/TSO Pipelines (from the CMS/TSO Pipelines Author's Edition 1.1.12): | delimitedString: | | A delimited character string is written between two occurrences of a | delimiter character, as a hexadecimal literal, or as a binary literal. The | delimiter cannot be blank and it must not occur within the string. Two a | adjacent delimiter characters represent the null string. It is suggested | that a special character be used as the delimiter, but this is not | enforced. However, it is advisable not to use alphanumeric characters, | because a future release might add a keyword or a number as a valid option | to a built-in program where only a delimited string is valid today. | | A hexadecimal literal is specified by a leading H or X followed by an even | number of hexadecimal digits. A binary literal is specified by a leading B | followed by a string of 0 and 1; the number of binary digits must an | integral multiple of eight. | | The keyword STRING can be used to specify that the delimited string | contains a string that is terminated by delimiter characters. This acts as | a placeholder so that any non-blank character can be used as the delimiter | character. Note that this use of the keyword is in addition to a keyword | that is recognised by a built-in program. (Thus, split string string xabcx) | | Examples: | /abc/ | ,, | xf1f2f3 | b11000001 | str xabx Leslie -- |