Prepend
(Built-in Mathematica Symbol) Prepend[expr, elem] gives expr with elem prepended.
PrependTo[s, elem] prepends elem to the value of s, and resets s to the result.
Functions for manipulating elements in explicit lists. This gives a list with x prepended. This inserts x so that it becomes element number 2.
Getting parts of lists. This gives a list of parts 1 and 3. Here is a nested list.
Mathematica's unified symbolic architecture immediately allows it to perform structural transformations not only on objects like lists, but also on general symbolic ...
Mathematica's unified symbolic architecture allows immediate generalization of part-oriented list operations to arbitrary expressions —supporting operations both on ...
Mathematica provides a carefully chosen set of functions for accessing elements of lists either using indices or positions, or using patterns or criteria for their values.
Mathematica's symbolic architecture supports a highly generalized notion of assignment, in which you can specify a transformation for any class of expressions defined by a ...
StringInsert["string", " snew", n] yields a string with " snew" inserted starting at position n in " string". StringInsert["string", " snew", -n] inserts at position n from ...
Lists are central constructs in Mathematica that are used to represent collections, arrays, sets, and sequences of all kinds. Well over a thousand built-in functions ...