We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当没有字符串 ( 或者 )出现的时候,你用NSarray [1]是崩溃的 NSString *searchString = searchBar.text;
if([searchString containsString:@"("]) { NSArray *array = [[searchBar text]componentsSeparatedByString:@"("]; NSString *second = array[1]; if([second containsString:@")"]) { self.req_security_id = [second componentsSeparatedByString:@")"][0]; NSLog(@"array:%@",self.req_security_id ); [self getData]; } }
The text was updated successfully, but these errors were encountered:
好的,谢谢!可以修改后提交上来,我merge一下。
Sorry, something went wrong.
No branches or pull requests
当没有字符串 ( 或者 )出现的时候,你用NSarray [1]是崩溃的
NSString *searchString = searchBar.text;
The text was updated successfully, but these errors were encountered: