Jul 11, 2005 #1 swaroop Programmer Feb 4, 2001 100 US I wanted to read a logfile line after line and cut the time in each line delimited by "^" and print to screan. Contents of logfile: 20050711:06:46:14:670:EDT^hiBox01^CbsOrderUnlockV1^4069 Thanks in advance. Swaroop.
I wanted to read a logfile line after line and cut the time in each line delimited by "^" and print to screan. Contents of logfile: 20050711:06:46:14:670:EDT^hiBox01^CbsOrderUnlockV1^4069 Thanks in advance. Swaroop.
Jul 11, 2005 #2 sedj Programmer Aug 6, 2002 5,610 See the Java API docs and read up on : java.io.BufferedReader. String.split() or StringTokenizer. Or would you prefer us to write the code for you (I hope not) ?! -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
See the Java API docs and read up on : java.io.BufferedReader. String.split() or StringTokenizer. Or would you prefer us to write the code for you (I hope not) ?! -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk