NSString *email_STR=[[NSString alloc]initWithString:_company_text.text]; if ([email_STR rangeOfString:@"@"].location == NSNotFound) { }