SyntaxFix
Write A Post
Hire A Developer
Questions
For example if you want to calculate how many a's are there in the String, you can do it like this:
if (string.contains("a")) { numberOf_a++; string = string.replaceFirst("a", ""); }