string.check() returns the first position of the string that contains a character that does not appear in string comparator
Parameters
- Comparator
- Start Index
...
Code Block |
---|
pjs.define("c1", {type: 'char', length: 25 }); pjs.define("num", {type: 'integer', length: 5 }); c1 = '$****12.345*** '; num = c1.check(' $*') return num; //6 |
Code Block |
---|
pjs.define("c1", {type: 'char', length: 25 }); pjs.define("num", {type: 'integer', length: 5 }) c1 = '$****12.345*** '; num = c1.check(' $*', 7) return num; //7 |
RPG Equivalent
%Check%CHECK()