Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 1, 2006, 07:13 AM   #1
MrFusion
macrumors 6502a
 
Join Date: Jun 2005
Location: West-Europe
predicate mixing characters and numbers

Hey guys,

I have a table of strings that contains letters and numbers e.g qwer56 or qwr4yu. I also have a search field, which is binded to filterpredicate. In the predicate format I have something like name contains[cd] $value

However, typing in a number of "special" symbol such as "(" returns an empty table as result. Typing in a letter returns some but not all values. Values with numbers or symbols are omitted from the result.

Is there some way to treat a number as any other character? So that typing in 5 returns qwer56 as a result? Or the same for ( or ) or #

Thanks
MrFusion is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Numbers vs Excel when mixing text & numbers TheBlackLabEdge Mac Applications and Mac App Store 5 Mar 6, 2014 09:29 PM
Apple should make a method that returns an array's object that satisfies a predicate. moonman239 iPhone/iPad Programming 5 Nov 21, 2013 08:21 PM
Core Data fetch with Predicate cpuin Mac Programming 5 Sep 8, 2013 05:44 PM
[SOLVED] IB - Bindings Inspector - Search Predicate KieferThomas Mac Programming 2 May 13, 2013 12:05 PM
Core Data, predicate using Key Path Fuzej iPhone/iPad Programming 5 Jul 25, 2012 07:23 AM

Forum Jump

All times are GMT -5. The time now is 08:17 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC