How to check if a variable contains any special character?

Can anyone tell me how to check if a variable contains any special character? Is there any special system command for the same?

This can be done with the MASK-Option: MASK(S).
Look at the Natural Programming Guide, chapter 'Logical Condition Criteria".

See also:
www.naturalconference.com/Nattips/Nat-tip-05-12-2008.html?submit2222222=Get