We can find duplicate words in a string through Wordstats() in PHP.In following code , first i have compressed multiple spaces into string and then decomposed the sentence into words with explode()
Programming Archive

The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet. As a project of the Apache Software Foundation, the developers aim to collaboratively develop and maintain a robust, commercial-grade, standards-based server with freely available source code

The problem with sending text to mobiles from your java program is that you’ve to spend few bucks buying GSM Modem, buy SIM with free SMS option and then connect it with Java Communication API. So here is a simple API that uses the help of way2sms service to send free SMS. Credits to Aswin Anand and Sailesh Soliwal for developing the API Steps: 1) Download the jar file from http://www.mediafire.com/?ztwzzwmfmmz 2) Add the jar file to library in your Netbeans or Eclipse IDE. 3) To send SMS call the Send() method of smsclient class. 4) Here is a sample implementation. import com.way2sms.SMS; class TestSMS { public static void main(String[] args) { SMS smsClient=new SMS(); smsClient.send( Username, Password, Number, Message,Proxy); } } Where, Username & [&hellip