iphone - Searching a string for " possible? -


i'm searching string "score" don't want return when comes across "score_time"

range = [substring rangeofstring: @"score"]; 

is using.

but if search '"score"' work. cant use " part of search because compiler gets confused.

range = [substring rangeofstring: @""score:""]; 

is there someway tell include " in search?

many -code

try escaping "\"score\"".


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -