title: Remove part of a string in Octave
body: <p>What is the most efficient way to remove part of a string and save it in one variable and the rest in other variable?</p>
  
  <p>I tried something with substring but it's just to long. Does a function for this exist that i'm missing</p>