By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,468 Members | 1,865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,468 IT Pros & Developers. It's quick & easy.

take specific word in textfile

P: 3
[U]can u solve it[/u]
I am trying to take a specific word in textfile.
for example:
new .txt

"Please follow these guidelines when posting questions. Submitting clear and concise questions allows those reading to understand your problem and respond easily."

I this text file extract with "ing"formatt words
ie,posting
submitting
reading

into another textfile
Jan 27 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,510
have a look at the Java tutorial on Strings
http://java.sun.com/docs/books/tutorial/java/data/strings.html

which discusses how you find substrings, etc
Jan 27 '07 #2

10K+
P: 13,264
[U]can u solve it[/u]
I am trying to take a specific word in textfile.
for example:
new .txt

"Please follow these guidelines when posting questions. Submitting clear and concise questions allows those reading to understand your problem and respond easily."

I this text file extract with "ing"formatt words
ie,posting
submitting
reading

into another textfile
Use a regular expressions or the string.endsWith method.
Jan 29 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.