473,386 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

take specific word in textfile

[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
2 1713
horace1
1,510 Expert 1GB
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
r035198x
13,262 8TB
[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

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

Similar topics

4
by: Eric Linders | last post by:
Hi, I have customer contact information in a MySQL DB. The standard stuff: first name, last name, city, state, zip, etc. I'd like to write a PHP script that will take a customer ID range...
4
by: Paul | last post by:
Hi, (First apologies if this is not the most relevant place to post this but I wasn't sure of where was and I am writing my app in VB.) I'm attempting to parse a binary file for which I have...
5
by: jester.dev | last post by:
Hello, I'm learning Python from Python Bible, and having some problems with this code below. When I run it, I get nothing. It should open the file poem.txt (which exists in the current...
7
by: Ep | last post by:
I need to put some text (and numbers) in Word and Excel. How do I put that into them? Also how can I use the "hot keys" to navigate in each. Thanks Ep
4
by: Tom Dauria | last post by:
I have an application that will be distributed remotely. In the Access application I am opening Word documents and mail merging. The Word documents are linked to a tmpLetter table. In my code I...
6
by: Martin | last post by:
Dear Group I wonder whether there are any alternatives to Aspose.Word or Softartisans WordWriter by other companies? I'm looking for a .NET component that can merge data either from a dataset,...
0
by: frankleggett | last post by:
Hi Excuse my ignorance but I am trying to write a very simple program. It needs to be simple because of my lack of knowledge. Anyway I would like to input a specific line from a textfile without...
4
by: Growl | last post by:
Hi, i'm a beginner of C++ and would like some help figuring out some things, any suggestions would be appreciated. I'm trying to search a word in an array and if it's found, the output would...
1
by: avik1612 | last post by:
Hi all, I am trying to write a perl script to find a particular word in all text files in a particular directory and if that particular word is found in that textfile a mail shouldbe send that...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.