substpart SciMax Toolbox subvar

SciMax Toolbox >> substring

substring

Maxima Function

Calling Sequence

substring (string, start)
substring(string,start,end)

Description

Returns the substring of string beginning at position start and ending at position end. The character at position end is not included. If end is not given, the substring contains the rest of the string. Note that the first character in string is in position 1.

(%i1) substring("substring",4);
(%o1)                        string
(%i2) substring(%,4,6);
(%o2)                          in
substpart SciMax Toolbox subvar