Format text data records for processing in Livecode

Ralph DiMola rdimola at evergreeninfo.net
Tue Feb 26 12:44:02 EST 2019


Option 2: The item delimiter can be multiple characters so you can set it to
something that would never likely be in the text.
Example: Set the itemdel to "<neverHappenInMyText>"

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of dunbarxx via use-livecode
Sent: Tuesday, February 26, 2019 10:58 AM
To: use-revolution at lists.runrev.com
Cc: dunbarxx
Subject: Re: Format text data records for processing in Livecode

Hi.

Since you may have any number and kind of characters in any of the fields in
each record, I would append a character that is unlikely ever to appear in
any context. I like numToChar(202), but others like numToChar(3) or
numtoChar(8).

Then you can set the itemDelimiter to that char, and be sure that you are
parsing the totality of each field within any record.

Craig Newman



--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

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





More information about the Use-livecode mailing list