predicate mixing characters and numbers

Discussion in 'Mac Programming' started by MrFusion, Aug 1, 2006.

  1. MrFusion macrumors 6502a

    Jun 8, 2005
    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 #


Share This Page