How can I count the number of "_" in a string like "bla_bla_blabla_bla"? 13 Answers 13 Tags: cpattern-matchingstring