Originally posted by pradeepjain
Consider your string is input. just use the following code
[HTML] if(input.indexO f(",")<0)
{your logic; }[/HTML]
This condition will return -1 if it doesn't finds any comma over there in your string. Use this logic.
Regards
Ramanan Kalirajan
Comment