Filter probelm
Bob Sneidar
bobs at twft.com
Wed Mar 14 14:17:23 EDT 2012
Doesn't "*" mean 0 to any number of characters? You would only want to distinguish if you only wanted lines that began with or ended with tab.
Bob
On Mar 13, 2012, at 9:35 PM, Terry Judd wrote:
>
> On 14/03/2012, at 02:52 PM, Pete wrote:
>
> Unless I'm doing something wrong, "filter tvar without tab" doesn't work,
> that is the lines with a tab remain in tvar after the filter command.
>
> Suer would be nice to have that work when dynamically building the contents
> of a popup menu with indented lines in it...
>
> That would only work if the lines you wanted to filter out only contained a tab character. If they contain other stuff then you need one of the following...
>
> filter tvar without ("*"&tab&"*") -- if the tab can be anywhere in the line
> filter tvar without (tab&"*") -- if the tab is at the start of the line, or
> filter tvar without ("*"&tab) -- if the tab is at the end of the line
>
> Terry...
>
> --
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com<mailto: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
>
>
> Dr Terry Judd
> Senior Lecturer in Medical Education
> Medical Eduction Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
>
>
>
> _______________________________________________
> 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