...or use your e-mail

Go back to Challenges list


Text Manipulation

Created by

In this challenge you will have to perform some text operations.
You need to replace all occurrences of string “Java” by “PHP” and capitalize the first character of each word (if the word is in upercase make it lowercase and then capitalize it. So HTML becomes Html). After that, all phrases inside the string of text need to be splitted in several paragraphs. Finally, the paragraphs need to be displayed in screen by alphabetic order.
Each paragraph is defined by a period (.) and there will not be other types of final pontuation or ellipsis
Separate each paragraph with a <br/> tag

Input Format
Each test case contains a string of text.

Output Format
For each test case output the string of text splitted in several paragraphs.

Sample Input
Java is a server-side scripting language. Java code can be simply mixed with HTML code. After the Java code is interpreted and executed, the web server sends resulting output to its client.

Sample Output
After The Php Code Is Interpreted And Executed, The Web Server Sends Resulting Output To Its Client.<br/>Php Code Can Be Simply Mixed With Html Code.<br/>Php Is A Server-side Scripting Language.

Memory Limit

Sign Up or Login to solve this Code Challenge