Skip to Content
0
Former Member
May 13, 2008 at 11:47 AM

how to code this ..please help

25 Views

Hi Friends:

I've a variable whose value is like 'XX-5011'. Now I've a requirement. I've to put a validation like this....

if this begins with 'XX'.

do something.

else.

do something.

what should be the best way of putting this check that whether it starts from XX or not.

suitable points will be rewarded.

Regards:

Gaurav