Search in NSMutableDictionary only with partial key
I want to know if there is a possibility to search in an NSMutableDictionary
with a开发者_开发知识库 partial key.
For Eg.: Let key
be 2345
and partialkey
can be 2
or 23
or 234
,etc
Thanks
You can use the allKeys
method to get an array of all the keys and then filter them based on your partial key.
精彩评论