|
Crud - severe brain fade moment... I want to test for the existence of one of several characters in a string. %check lets you check for the first character that is NOT found in the "comparator". %scan only lets you specify one search argument. I need to test a string to see if it has any occurrences of any of the characters &, %, *, _, or ? There *is* an easy way to do this in RPG, is there not? FWIW, on V5R2. tia, db
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.