extracting a string between two quotes in bash
<p>I have example string like
<code>Test "checkin_resumestorevisit - Online_V2.mt" Run</code></p>

<p>and i want to extract the text between the two quotes in bash. 
I tried using command like</p>

<pre><code>SUBSTRING=${echo $SUBSTRING| cut -d'"' -f 1 }
</code></pre>

<p>but it fails with <code>error: bad substitution</code>.</p>