title: How to count occurrences of a character in a String in java
body: <p>Can someone tell me, how can I do an if-clause, that say me how often I used the decimal seperator in this String.</p>
  
  <p>i.e.: 1234,56,789</p>