title: Check if string contains an @ symbol or if the string is null
body: <p>Basically, I have a form where people can enter stuff in, and there is one part where they input an email address. Sometimes, people just put in their name and don't put an actual email address. Sometimes they do not fill it out at all.</p>
  
  <p>Is there any easy way to check to see if the string has an @ symbol in it and check to see if its Null? </p>
  
  <p>Any help is appreciated </p>