Help for this page

Select Code to Download


  1. or download this
    $string="firstname,surname,age,height,shoesize";
    $count = ($string =~ tr/,//);
    print "There are $count delimeters in the string";