Filter

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Dec 9 13:22:25 CST 2011


Hi Craig,

filter "abcdef" with "c" gives empty because abcdef is not c
filter "abcdef" with "*c*" returns abcdef because abcdef contains c.

Filter affects lines, not chars. If you want to remove all c chars in abcdef then you need to use the replace command:

replace "c" with "x" in "abcdef"
 
--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission!

On 9 dec 2011, at 20:15, dunbarx at aol.com wrote:

> 
> 
> What am I doing wrong? If I have:
> on mouseup
>   put "abcdef" into temp
>   filter temp with "c"
>   put temp
> end mouseup
> I get empty. I don't need more empty.
> Craig Newman




More information about the use-livecode mailing list