comparison scripts/strings/substr.m @ 8442:502e58a0d44f

Fix docstrings, add examples, references and tests to string functions
author Thorsten Meyer <thorsten.meyier@gmx.de>
date Mon, 05 Jan 2009 08:11:03 +0100
parents 83a8781b529d
children eb63fbe60fab
comparison
equal deleted inserted replaced
8441:cc3ac5eb6be3 8442:502e58a0d44f
31 ## substr ("This is a test string", 6, 9) 31 ## substr ("This is a test string", 6, 9)
32 ## @result{} "is a test" 32 ## @result{} "is a test"
33 ## @end example 33 ## @end example
34 ## 34 ##
35 ## This function is patterned after AWK. You can get the same result by 35 ## This function is patterned after AWK. You can get the same result by
36 ## @code{@var{s} (@var{offset} : (@var{offset} + @var{len} - 1))}. 36 ## @code{@var{s}(@var{offset} : (@var{offset} + @var{len} - 1))}.
37 ## @end deftypefn 37 ## @end deftypefn
38 38
39 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 39 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
40 ## Adapted-By: jwe 40 ## Adapted-By: jwe
41 41