Results 1 to 5 of 5
- 11-30-2009, 12:10 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 4
- Rep Power
- 0
How can we read text file in java 1.4
Hi Experts,
Here I have a text file such contains
india @ 91
Singapore @ 0065
The delimeter is @
here I have to read that text file and
put the values in to two variable like wise
String Country = "india"
String code = "91"
String Country = "singapore"
String code = "0065"
Can you help me to overcome this issues..Last edited by javasaravanan; 12-01-2009 at 06:31 AM.
- 11-30-2009, 12:23 PM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
String.split("<pattern>")
- 11-30-2009, 01:14 PM #3
Member
- Join Date
- Nov 2009
- Posts
- 4
- Rep Power
- 0
Please Give me sample entire code
I am a new one for java technologies
- 11-30-2009, 01:19 PM #4
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 11-30-2009, 03:28 PM #5
Similar Threads
-
Read from a text file?
By aaronfsimons in forum New To JavaReplies: 3Last Post: 05-01-2009, 04:42 AM -
read from text file
By rayda in forum New To JavaReplies: 5Last Post: 04-10-2009, 03:51 AM -
Read and modify text file
By heartysnowy in forum New To JavaReplies: 27Last Post: 11-19-2008, 10:03 AM -
[SOLVED] How do I read from a text file
By matzahboy in forum New To JavaReplies: 5Last Post: 11-17-2008, 04:47 AM -
How to read a text file from a Java Archive File
By Java Tip in forum Java TipReplies: 0Last Post: 02-08-2008, 09:13 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks