Hi,
I'm trying to parse some data returned by a 3rd party app (a TSV file). I have all the data neatly parsed into each fields (see http://stackoverflow.com/questions/2410788/parse-a-tsv-file), but I don't know how to format some fields.
Sometimes the data in a field is encapsulated like this:
=T("[FIELD_DATA]")
(That's some sort of Excel formatting I believe.)
When that happens, specific chars are escaped by CHAR(ASCII_NUM), and the reste of string is also encapsulated like in the above example, without the = which only appears at the beginning of the field.
So, has anyone an idea how I could parse fields that look like this:
=T("- Merge User Interface of Global Xtra Alert and EMT Alert")&CHAR(10)&T("- Toaster ?!")&CHAR(10)&T("")&CHAR(10)&T("")&CHAR(10)&T("None")&CHAR(10)&T("")&CHAR(10)&T("None")
(any number of CHAR/T() groups).
I have been thinking of regex or looping the string, but I doubt the validity of this. Help, anyone?