What is the difference between bulitin fuction VERIFY and INDEX? 

Answer Posted / scott77

index(x,y) : builtin-function to return the starting position of x match y. no y are in x then 0. k = index('abcabcdefg','cd'); k= 6
veryfy(x,y): builtin-function to return the first(leftmost) position of x not any in y. all x are in y then 0. k =veryfy('123456a','0123456789') ; k= 7

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between main program and a sub program in PL/1?

2438


On what systems PL/1 is available?

1172


What are the different options in OPTIONS?

1124


 How do you handle exception in PL/1?

1228


What are the ways through which you pass value to an program from JCL?

1027






What is PL/I?

1045


How did PL/I originate?

1097


What tools are available in PL/1?

1126


What do the compilers provide?

1077


How can I try out PL/I?

1158