Create tab delimited string for output

I need to construct a string with tab as delimiters for downstream consumption. I don't want to create a csv file because I am sending it over the network somewhere else.
example input:
field1: timestamp
field2: hostname
field3: foo
field4: bar

output:
timestamp[tab]hostname[tab]foo[tab]bar

You could do that with a codec that supports the format option.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.