stirling2 SciMax Toolbox striml

SciMax Toolbox >> strim

strim

Maxima Function

Calling Sequence

strim (seq,string)

Description

Returns a string like string, but with all characters that appear in seq removed from both ends.

(%i1) "/* comment */"$
(%i2) strim(" /*",%);
(%o2)                        comment
(%i3) slength(%);
(%o3)                           7
stirling2 SciMax Toolbox striml