Mercurial > hg > octave-lyh
comparison scripts/strings/substr.m @ 2314:949ab8eba8bc
[project @ 1996-07-12 03:58:02 by jwe]
author | jwe |
---|---|
date | Fri, 12 Jul 1996 03:58:02 +0000 |
parents | 5ca126254d15 |
children | b5568c31ee2c |
comparison
equal
deleted
inserted
replaced
2313:5ca126254d15 | 2314:949ab8eba8bc |
---|---|
19 | 19 |
20 ## usage: substr (s, beg, len) | 20 ## usage: substr (s, beg, len) |
21 ## | 21 ## |
22 ## Returns the substring of S of length LEN starting at index BEG. | 22 ## Returns the substring of S of length LEN starting at index BEG. |
23 ## If LEN is missing, the substring extends to the end of S. | 23 ## If LEN is missing, the substring extends to the end of S. |
24 | |
25 ## Author: jwe | |
24 | 26 |
25 function t = substr (s, beg, len) | 27 function t = substr (s, beg, len) |
26 | 28 |
27 ## Original version by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>. | 29 ## Original version by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>. |
28 | 30 |