Newbie2

J. Landman Gay jacque at hyperactivesw.com
Sat Dec 6 18:31:04 EST 2008


dunbarx wrote:
> Back in the day, HC listMembers had enormous patience with certain
> people. They were indulgent. Time will tell.

We're so indulgent you'll beg us to stop.

> I have a variable "foo"  (remember foo?) containing:
> 
> aabb
> bbcc
> ccdd
> abc
> bcd
> 
> and a script that has:
> 
> 
> filter foo with "a*b" answer foo
> 
> I get empty in foo, when what I am looking for is a substitute for
> Rinaldi's "fullFind"
> 
> Changing the wildcard characters changes nothing.  OK, what am I
> doing wrong?

If I filter with your example, I get "aabb" like Richard does. If you 
also want to retrive "abc" then you need to add another asterisk to 
account for the remaining characters in the string:

filter foo with "a*b*"

That catches both instances.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list