in reply to Delimeter Count?

Hi Ronnie,

Try using tr:
$string="firstname,surname,age,height,shoesize"; $count = ($string =~ tr/,//); print "There are $count delimeters in the string";
hope this helps.

Martin