I need some help parsing a string that is input to one that is later cleaned and output.
e.g.
String str = " tHis  strIng is  rEalLy mEssy  "
and what I need to do is have it parsed from that to look like this:
"ThisStringIsReallyMessy"
so I basically need to clean it up then set only the first letter of every word to capitals, without having it break in case someone uses numbers.
 
     
     
     
     
    