Hi,
I have an issue in reading the file which comes with
A"|"B"|"C
"|"as delimter it has the quote on it, long time on files so need ur help on handling it.
Tried using ""|"" did not work.
Thanks,
RK
Handling delmiters coming with quote in sequential file
Moderators: chulett, rschirm, roy
A pet peeve. You're not chatting with your buds or tweeting so there's no reason to spell "your" like that on a (semi) professional peer-to-peer support site.
Did you try setting the field's delimiter string property to that? Without the extra quotes you have in your post? I would imagine you'd also need to ensure that quotes in general were set to none. If you do that and it still doesn't work, document here what happens.
Did you try setting the field's delimiter string property to that? Without the extra quotes you have in your post? I would imagine you'd also need to ensure that quotes in general were set to none. If you do that and it still doesn't work, document here what happens.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Note that delimiter and delimiter string are different properties. The delimiter property is limited to a single character, the delimiter string property is not.
So, to reiterate what Craig advised, try setting the delimiter string property to "|".
So, to reiterate what Craig advised, try setting the delimiter string property to "|".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.