Octave - return the position of the first occurrence of a string in a cell array
<p>Is there a function in Octave that returns the position of the first occurrence of a string in a cell array?</p>

<p>I found <code>findstr</code> but this returns a vector, which I do not want. I want what <code>index</code> does but it only works for strings. </p>

<p>If there is no such function, are there any tips on how to go about it?</p>