On Sun, Jun 1, 2008 at 9:10 PM, Gerriet M. Denkmann
<[EMAIL PROTECTED]> wrote:
> Following your suggestion, I changed my predicateFormat to:
> @"%@ contains kMDItemTextContent" which translates into:
> <kMDItemTextContent IN "To be, or not to be"> and behaves more or less
> exactly like LIKE.
>
> So again: how to search kMDItemTextContent for a string containing spaces?
> (10.4.11).

This came up in the last question you asked. You're not constructing
your formats properly.

[NSPredicate predicateWithFormat:@"%K contains %@",
kMDItemTextContent, @"To be, or not to be"];
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to