Mercurial > hg > octave-nkf
diff scripts/strings/strrep.m @ 2312:204cc7db6f4a
[project @ 1996-07-11 21:20:36 by jwe]
author | jwe |
---|---|
date | Thu, 11 Jul 1996 21:20:36 +0000 |
parents | 2b5788792cad |
children | 5ca126254d15 |
line wrap: on
line diff
--- a/scripts/strings/strrep.m +++ b/scripts/strings/strrep.m @@ -22,11 +22,12 @@ ## Replace all occurences of the substring x of the string s with the ## string y. +## Author: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> +## Created: 11 November 1994 +## Adapted-By: jwe + function t = strrep (s, x, y) -## Written by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> on 1994/10/11 - ## Updated by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> on 1996/05/25 - if (nargin <> 3) usage ("strrep (s, x, y)"); endif