How to capitalize a letter in String?
Hi everyone! How would i capitalize a letter of a word in a String ...
For example the string is "Hello Java Programming Forums".. that is the input ... now the output must be "HeLlO JaVa PrOgRaMmInG FoRuMs".. the program should capitalize a letter in a word that is in an odd position assuming that a white space is a word separator and it the letter to be capitalized is the letter that is in odd position in every word the first letter is one (odd), next letter is two (even) and so on... SomeOne Please help me!! I really need help...!
Re: How to capitalize a letter in String?
What have you tried? Where are you stuck? Where is your SSCCE? We aren't going to do your homework for you.