Splitting by column or row uses the rowdelimiter and columndelimiter properties, which are cr and tab by default, but you can change them. In your example you wouldn't need to.

But splitting by column won't give what you want, I don't think. If I remember right it will give a numbered array with each element being the contents of a column.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com



On May 18, 2016 9:38:50 AM Richard Gaskin <[email protected]> wrote:

This morning it seemed natural enough to me to take this data:

ID    Name      Email
101   Richard   [email protected]

...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.

Such cases are for data so small that I don't mind writing a loop to
create the array.  But it seems common enough that I would imagine
others have tried this and met with similar disappointment that it's not
already built in.

Or is it?  Is there some other syntax I might try to do that?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [email protected]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to