Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Read and search for text in a file
Joined: Dec 19, 2010
Mar 18, 2011 15:22:45
I have a file like this
ABCD 123 blah blah
xyz = varb;
What I need to do:
search in the file for xyz and find varb and then find
and extract what it is a string.
so the definition of varb is before it is used, so I need to find if it is used and then find what it is defined as.
How do I do this? The file will be Unix formatted but stored locally on a DOS machine.
Joined: Oct 13, 2005
Mar 19, 2011 14:03:26
Do you know how to find a String inside a String?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Read and search for text in a file
Help with Java
backslash n is being escaped against my will
Adding html tags to script
getRequestDispatcher(), relative path problem...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013