Well,
which version of maxima are you using?
In v. 5.9.3, (at least the one I have), there is no
stringproc
(%i5) load(stringproc)$
Could not find `stringproc' using paths in
file_search_maxima,file_search_lisp
(combined values: [/home/maxie/sen/.maxima/###.{mac,mc},
/usr/local/share/maxima/5.9.2/share/###.{mac,mc},
/usr/local/share/maxima/5.9.#
2/share/{affine,algebra,calculus,combinatorics,contrib,contrib/nset,contrib/pd#
iff,contrib/numericalio,contrib/descriptive,contrib/distrib,linearalgebra,diff#
equations,graphics,integequations,integration,macro,matrix,misc,numeric,physic#
s,simplification,specfunctions,sym,tensor,trigonometry,utils,vector}/###.{mac,#
mc}, ./###.{lisp,mac}, /home/maxie/sen/.maxima/###.{fas,lisp,lsp},
/usr/local/share/maxima/5.9.2/share/###.{fas,lisp,lsp},
/usr/local/share/maxim#
a/5.9.2/share/{affine,algebra,calculus,combinatorics,contrib,contrib/nset,cont#
rib/pdiff,contrib/numericalio,contrib/descriptive,contrib/distrib,linearalgebr#
a,diffequations,graphics,integequations,integration,macro,matrix,misc,numeric,#
physics,simplification,specfunctions,sym,tensor,trigonometry,utils,vector}/####
.{fas,lisp,lsp}, /usr/local/share/maxima/5.9.2/src/###.{fas,lisp,lsp}]
)
-- an error. Quitting. To debug this try debugmode(true);
Also,
(%i6) ? substring;
(%o6) false
(%i7)
substring("world",2,5);
(%o9) substring(world, 2, 5)
-sen
On Tue, 15 Aug 2006, Barton Willis wrote:
> -----maxima-admin at math.utexas.edu wrote: -----
>
>> What is the function which pulls substrings out
>> of a string,
>
> (%i1) load(stringproc)$
> (%i2) substring("world",2,5);
> (%o2) orl
>
> For user documenation, input ? string or ? substring.
>
> Barton
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
--
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1 at math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------