title: Need to split a string in bash after certain number of characters
body: <p>I am writing a bash script that will execute a command and store the value in a string variable, now I need to split the string after certain characters. Is there a way? I cannot use delimiters coz the format is kinda like this</p>
  
  <pre><code>  PV Name /dev/sda2
    PV Size 10.39 GB
  </code></pre>
  
  <p>Here I need to get the /dev/sda2 and 10.39 GB(if possible, just 10.39 alone) and write it in a new file. I cannot use delimiter because the space is at first.. I have not done much bash scripting. Is there a way to do this?</p>