Hello, I have a flat file like this:
‘Order’,1,‘Order Description, for Tommy’,‘5’
How do I define my schema such that it takes the string in ’ ', but outputs only the content, i.e. ouput should be
Order = Order
Number = 1
Description = Order Description, for Tommy
Quantity = 5
I do not believe there is any way to accomplish your goal via the flat file schema. However, to accomplish the same thing, why not just pass all of your flat file data into the pub.string:replace built-in service, and specify ’ as your searchString and leave the replaceString empty? And if there are some apostrophes in the data that you want to keep, then you could call the replace service on a field by field basis after performing the convertToValues.