Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between bulitin fuction VERIFY and INDEX? 

Answers were Sorted based on User's Feedback



What is the difference between bulitin fuction VERIFY and INDEX? ..

Answer / diana

INDEX(x,y) returns the starting position of the string y within string 
x. Returns 0 if y not present in x.
Verify(x,y) returns the first position in x where any character in 
y is not in string 1. If all characters in x are contained in y, result is zero.

Is This Answer Correct ?    1 Yes 0 No

What is the difference between bulitin fuction VERIFY and INDEX? ..

Answer / 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

More IBM PL/1 Interview Questions

How space will be adjusted based on size of the field?

1 Answers  


How did PL/I originate?

0 Answers  


What do the compilers provide?

0 Answers  


What is the use of  GET LIST and  PUT LIST?

1 Answers  


What are the different options in OPTIONS?

0 Answers  


What is the difference between DEFINED attribute and LIKE atrribute.

1 Answers  


What is the difference between bulitin fuction VERIFY and INDEX? 

2 Answers  


On what systems PL/1 is available?

0 Answers  


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

1 Answers  


 Pseudo Variables in PL/1?

1 Answers  


Picture clause of TIME in PL/1?

1 Answers  


 How do you handle exception in PL/1?

0 Answers  


Categories