How can i test whether my NSString contains the following file name : test.pdf
This is my code
开发者_开发知识库 NSString *pdfLocation = [documentDirectory stringByAppendingPathComponent:@"test.pdf"];
Google is your friend. You could have found e.g. this.
rangeOfString:options:range:
精彩评论