title: JavaScript if string is in comma delimited string
body: <p>I have string like this: <code>str = "ball, apple, mouse, kindle";</code></p>
  
  <p>and I have another text to search in this string: <code>search = 'apple';</code></p>
  
  <p>How to determine using JavaScript if <code>apple</code> exist in comma delimited string?</p>
  
  <p>P.S: <code>str</code> can be with or without spaces between comma and next item.</p>