| Author |
Comment/Response |
jf
|
09/13/12 11:57am
In[1]:= Rest[ {"This", "is", "the", "first", "sentence"} ]
Out[1]= {is, the, first, sentence}
or maybe
In[2]:= Rest[ {"This", "is", "the", "first", "sentence"} ] //InputForm
Out[2]= {"is", "the", "first", "sentence"}
Drop[ {"This", "is", "the", "first", "sentence"}, 1]
also works.
If you search in the Documentation Center for "list elements" or "drop elements" or "list pieces", some of the hits will point you in the right direction.
"Map" is a built-in function that does something very different from what you want.
URL: , |
|