On Nov 10, 2008, at 1:31 PM, Awbrey Hughlett wrote:

Why does this work for matching the word "Lubbock":
        
EOQualifier.qualifierWithFormat("city caseInsensitiveLike 'lub*'", null);

and not this:
        
        String cityWildcard = "lub";
        NSArray args = new NSArray(cityWildcard + "*");
        EOQualifier.qualifierWithFormat("city caseInsensitiveLike %@", args);

This is not just doing string catenation.  Try this:

        NSArray args = new NSArray(cityWildcard);
        EOQualifier.qualifierWithFormat("city caseInsensitiveLike [EMAIL 
PROTECTED]", args);

Chuck




Am I missing something? I read the webobjects reference documents on this and they didn't point out the problem. If it makes any difference, I am using webobjects 5.3 and
Wonder. Can anyone help please?


Thanks,
Awbrey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to