Originally posted by Ajay Joseph: i used toUpperCase() function but some error like "char cannot be dereferenced " is coming help me to conert first letter of all word in a sentence to upper case ajay