javascript count characters in string 22 Javascript Count Characters In String Probably the most efficient way is looping over the characters and count for. yourself. You could do a replaceAll with an e… Written By Anonymous Saturday, August 5, 2017 Add Comment Edit