Tab delimited data not working...
Glen Bojsza
gbojsza at mac.com
Fri Mar 26 10:48:35 EST 2004
Thanks...you are right the item works better. Some how I have been
stuck on words from the last project...
regards,
Glen
On Friday, March 26, 2004, at 08:08 AM, thierry Douez wrote:
>
> Hi Glen,
>
> well, the chunk "word n" is giving you the nth word of the string;
> so, it's right but using item will work as you ask for !
>
> set the itemdelimiter to tab
> put item 3 of line 1 of fld "data"
> -- 23 tab 35 tab 76 tab 55 tab 99
> -- gives ==> 76
>
> put item 3 of line 1 of fld "data"
> -- 23 tab tab tab 76 tab 55 tab 99
> -- gives ==> empty
>
> put item 5 of line 1 of fld "data"
> -- 23 tab tab tab 76 tab 55 tab 99
> -- gives ==> 55
>
> HTH
>
> regards, thierry
>
> | I have a field which is filled with tab delimited data there will
> | always be some "missing data" by the nature of the type of data
> being
> | collect.
> |
> | I have set the itemDelimiter to tab but that does not solve the
> | problem??
> |
> | Example below I've "typed" the word tab to help explain
> |
> | 23 tab 35 tab 76 tab 55 tab 99
> | -- put word 3 of line 1 of fld "data"
> | ==> 76
> | 23 tab tab tab 76 tab 55 tab 99
> | -- put word 3 of line 1 of fld "data"
> | ==> 55 (shouldn't it give 76 ??)
> |
> | Is this a bug, limitation, or a bad assumption?
> |
> | thanks, Glen
> |
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list