Filter probelm

Terry Judd terry.judd at unimelb.edu.au
Wed Mar 14 00:35:04 EDT 2012


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






More information about the Use-livecode mailing list