in reply to Delimeter Count?
$string="firstname,surname,age,height,shoesize"; $count = ($string =~ tr/,//); print "There are $count delimeters in the string"; [download]