COCOA NSString indexOf? -


i have nsstring *url need know if string @"iframe" in nsstring url , use in if can handle things differently

i example if statment

try

 nsrange range = [url rangeofstring: @"iframe"]; if (range.location == nsnotfound) ... 

Comments

Popular posts from this blog

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

mysql - How to insert just year and month into date field? -