How to do this type of comparison.
Say i have a variable with a word "ABCDEF"
and i want to check the combination "DEF" exists in it or not how do i do?
I want to make a simple comparison test..
Some friend suggested me the "substring" function but that works only in JSP i hope?
Please help me out!