AlbertAguirre
Programmer
Ok I need to parse a file but ALSO parse one of the columns in the file.
The file is delimited by | but the column I am parsing is delimited by '/'
Here is a sample record from the original file:
2008-08-28 23:08:36|218.165.182.133|image|78450882|/albums/rr29056/someusername/20080809/IMG_146701.jpg
My results must look like this:
2008-08-28 23:08:36|someusername
How do I accomplish this?
The file is delimited by | but the column I am parsing is delimited by '/'
Here is a sample record from the original file:
2008-08-28 23:08:36|218.165.182.133|image|78450882|/albums/rr29056/someusername/20080809/IMG_146701.jpg
My results must look like this:
2008-08-28 23:08:36|someusername
How do I accomplish this?