java flow service to convert first letter of each word in a sentence into capital letter

java flow service to convert first letter of each word in a sentence into capital letter

Hi Naveen,

Is there any reason to use Java program?

Refer the below line/function, you may get some idea…


String s1 = name.substring(0, 1).toUpperCase() + name.substring(1);


Refer the following link: How to capitalize the first letter of a String in Java? - Stack Overflow

Regards,
krish