Hi there

I have a little question, that is probably easy to answer.

i have a line of comma separated text.

what i want to do is check that there are at least 5 commas in a line.

so i have

line.contains(",");

how can i use that command to check that there are at least 5 commas???

Thanks

TGB