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

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -