comparison scripts/strings/index.m @ 5307:4c8a2e4e0717

[project @ 2005-04-26 19:24:27 by jwe]
author jwe
date Tue, 26 Apr 2005 19:24:47 +0000
parents 48a39e2b2ab7
children 2a16423e4aa0
comparison
equal deleted inserted replaced
5306:63cf9851f55c 5307:4c8a2e4e0717
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## General Public License for more details. 13 ## General Public License for more details.
14 ## 14 ##
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 ## 02111-1307, USA. 18 ## 02110-1301, USA.
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} index (@var{s}, @var{t}) 21 ## @deftypefn {Function File} {} index (@var{s}, @var{t})
22 ## Return the position of the first occurrence of the string @var{t} in the 22 ## Return the position of the first occurrence of the string @var{t} in the
23 ## string @var{s}, or 0 if no occurrence is found. For example, 23 ## string @var{s}, or 0 if no occurrence is found. For example,