Possible Duplicate:
Finding a substring in a NSString object
Something like: If in "http://test.ru/test/Lala/test.html" is "/test/Lala/" then perform the action
Possible Duplicate:
Finding a substring in a NSString object
Something like: If in "http://test.ru/test/Lala/test.html" is "/test/Lala/" then perform the action
You can check for your substring like this:
NSRange range = [myString rangeOfString:mySubstring];
if (range.location != NSNotFound) {
// do you action
}