title: start from first space before the value
body: <p>I don't know how i can say &quot;start from first space before the value&quot; or &quot;Closest space before the word&quot;.
  my code like (linux bash awk):</p>
  <pre><code>data= &quot;your website is the best website&quot;
  value = &quot;t w&quot;
  </code></pre>
  <p>when i used this code to print the line from value to end of line:</p>
  <pre><code>if ( index($0, value))
      print substr($0, index($0,value)) 
  </code></pre>
  <p>the result was:</p>
  <pre><code>t website
  </code></pre>
  <p>please  i want to print it like:</p>
  <pre><code>best website
  </code></pre>
  <p>to print from the word which containt first letter?</p>