Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...


The string.check() method returns the first position of the in a string that contains a character that , which does not appear in string the comparator.

 

Parameters

  1. Comparator
  2. Start Index

Examples


 

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()