Results 1 to 1 of 1
- 04-21-2012, 08: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, 05:58 AM
- By chdn202002 in forum New To JavaReplies: 5Last Post: 07-17-2011, 02:44 PM
- By Pleenen in forum Advanced JavaReplies: 2Last Post: 05-27-2010, 04:34 AM
- By JordashTalon in forum New To JavaReplies: 0Last Post: 03-04-2009, 11:08 PM
- By phani532 in forum New To JavaReplies: 5Last Post: 08-27-2008, 03:12 PM