From: Alois S. <alo...@tu...> - 2006-01-02 11:17:26
|
William Poetra Yoga Hadisoeseno wrote: >The strfind function is well written, so I had little trouble updating >it to be compatible with Matlab. Now I think it's quite ready for >submission into Octave, so I would like Alois, as the original author, >and others to comment. If there are no comments, I will post it to >bu...@oc... and let John include it in Octave. > >The file is attached. > >-- >William Poetra Yoga Hadisoeseno > > I forgot the attachment, here is it. Alois ----- Thanks for including the docu and test functions and converting it to octave style. Concering the additional support of cellstrings, I suggest to changes as attached. Moreover, the result in IDX = strfind(STR,PATTERN) should return a vector, not a cell with an vector element. The attached version does this. I'll check in the changes into Octave-forge. You can post it to bug-octave and ask John to include it. Alois |