Originally posted by: repanzer
"I hope you undetstood up to this."
I do understand, and using the initiator and terminator of " is exactly what I would have suggested you do, but as you mentioned, this data will fail; "test2"check".
That is why I would suggest removing the terminator and initiator, then using the SUBSTITUTE in the map rule, to remove all the quotes when you map. Is that not possible?
If it is possible, it means that regardless of quotes in the data, every pipe means a new field. Let's just say your output is comma delimilted, then using the SUBSTITUTE.. ...
This;
1234 "test1" 34556 "test2"check" "test3"
Would map as;
1234,test1,34556,test2check,test3
And from what I gather, that is what you want, right?
There is no way that you can say the " is an initiator and terminator in most cases ("test1"), but sometimes it's part of the data ("test2"check"), in the same field.
The only other thing I can think of is going to the people who create this data and tell them that this "test2"check", is unacceptable.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange