Name: Most - Remove the last element of an array or string and return the rest.

Synopsis:

string Most -&gt; string 
array Most -&gt; array


Examples:

(computer) Most -&gt; (compute) 
[1 2 3] Most -&gt; [1 2] 
[(this) (is) (an) (example)] Rest -&gt; [(this) (is) (an)]


Remarks:

In 2003 this function did not exist in Mathematica and was 
introduced as LRest by Kupper. Mathematica 5 introduced the 
function and its SLI Name was changed for compatibility 
(Apr 2008, Diesmann).


Author:

Ruediger Kupper, docu edited by Sirko Straube


FirstVersion:

10.3.2003


SeeAlso:

First
Last
Rest

Source:

/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/mathematica.sli
