matchChunk question

Mark Smith Mark_Smith at cpe.umanitoba.ca
Sat Jan 7 16:06:30 EST 2012


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.

-- Mark


--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/matchChunk-question-tp4238281p4274128.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list