make friends with regular expressions.
http://en.wikipedia.org/wiki/Regular_expression


2009/9/30 Poloman <bigtrouble1...@gmail.com>

>
> I have
>
> varA = com and varB=com55 or ton2 or son1.9 or whatever values...
>
> I want to do a comparison if the prefix of varB = com, which is varA,
> then do something. How can i write the code for this ?

Reply via email to