On Jan 7, 2012, at 4:06 PM, Mark Smith wrote:

> 
> Peter M. Brigham, MD wrote
> 
>> Any reason not to just use
>> 
>> put numtochar(8) into tempDelim
>> replace <4-char-sequence> with tempDelim in tString
>> set the itemdelimiter to tempDelim
> 
> Thanks Peter, none that I can see although I would probably write:
> 
> put quote & "v" & quote & ":" into tempDelim -- i.e. a 4 char delimiter with
> embedded quotes
> replace tempDelim with tab in tString
> set the itemdelimiter to tab
> 
> Same idea though and much easier than fussing with replacetext and regular
> expressions. I probably didn't think this would work because of the embedded
> quotes.

Same idea. I replace <whatever-char-sequence> with a character that would not 
be found in any text string. Your version will work as long as there are no 
tabs already in your text.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



_______________________________________________
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

Reply via email to