Bob Sneidar wrote: >> On May 18, 2016, at 07:36 , Richard Gaskin wrote: >> >> This morning it seemed natural enough to me to take this data: >> >> ID Name Email >> 101 Richard rg at somedomain.com >> >> ...and turn that into an array where the first line determines the >> key names and the second line consists of the values using this: >> >> split tData by column with cr and tab >> >> I found that when splitting by column the "with" clause throws an >> error. > > "by | using | with" are synonyms so far as I can tell from the > dictionary. Should be: > > split tData with cr and tab
Thanks, Bob, but the problem is that when using the split command with delims the engine presumes you want to split by row, with no option (AFAIK) for splitting by column.
The line you wrote would give me an array like this: Key Value ---- --------------------------- ID Name Email 101 Richard r...@somedomain.com ...but what I'm hoping to get is: Key Value ---- --------------------------- ID 101 Name Richard Email r...@somedomain.com -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ ambassa...@fourthworld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode