title: How do I extract a substring from a string until the second space is encountered?
body: <p>I have a string like this:</p>
  
  <p><code>"o1 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467"</code></p>
  
  <p>How do I extract only <code>"o1 1232.5467"</code>?</p>
  
  <p>The number of characters to be extracted are not the same always. Hence, I want to only extract until the second space is encountered.</p>