> Alex T. wrote: > Not a one-liner, but I'd be wiling to guess that > > repeat for each line L in theData > put item 2 of L into A1[item 1 of L] > put item 1 of L into A2[item 2 of L] > end repeat will > > be as quick as any other method.
This is certainly a very fast and elegant method. The problem is, that one of the items, here item 2 (a name), may not be unique. So, in case "Müller" is among the names, this slight change may help: repeat for each line L in theData put space & item 2 of L after A1[item 1 of L] put space & item 1 of L after A2[item 2 of L] end repeat will _______________________________________________ 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