Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Quick question about NA

Former Member
0 Kudos
506

Hi,

What is the definition of operator 'NA'?

if I have a statement as follows:

if 'J' NA 'T'.

Would this be true or false?

Thanks

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos
223

NA stands for Not Any, used in comparing two strings..

if 'J' NA 'T'.

will always be true as 'J' doesn not contain 'T'.

~Suresh

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos
223

NA means "not contains any"(negation of contains any).

Hence it would be true.

suresh_datti
Active Contributor
0 Kudos
224

NA stands for Not Any, used in comparing two strings..

if 'J' NA 'T'.

will always be true as 'J' doesn not contain 'T'.

~Suresh