title: How to detect spaces in shell script variable
body: <p>e.g <code>string = "test test test"</code></p>
  
  <p>I want after finding any occurance of space in string, it should echo error and exit else process.</p>