How can I count the number of occurrences of a character in a paragraph?
Example: I want to check the number of occurrences of commas in a paragraph:
“182-DISPLU6-Profile 3-disneytest04@gmail.com, 161-DISPLU6-Profile 1-disneytest01@gmail.com, 162-DISPLU6-Profile 2-disneytest02@gmail.com”
I want the return result is 2
How can I count the number of occurrences of a character in a paragraph?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
