Results 1 to 1 of 1
- 04-21-2012, 09:14 PM #1Member
- Join Date
- Mar 2012
- Rep Power
Adding words to a text file using java
Any suggestions on how to add a word or more using java to a text file to where if there is a sentence that ends with a period that the word is inserted before the period or if there is no period in the sentence, that it is just added to the sentence?
I'm thinking an if else statement might do the trick, but I am also wondering, would a substring also needed? And or any other suggestions?
- By tom2zip in forum AWT / SwingReplies: 3Last Post: 01-17-2012, 06:58 AM
- By chdn202002 in forum New To JavaReplies: 5Last Post: 07-17-2011, 03:44 PM
- By Pleenen in forum Advanced JavaReplies: 2Last Post: 05-27-2010, 05:34 AM
- By JordashTalon in forum New To JavaReplies: 0Last Post: 03-05-2009, 12:08 AM
- By phani532 in forum New To JavaReplies: 5Last Post: 08-27-2008, 04:12 PM