This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

StringTake (modified)Nand (4.1)

StringDrop

FilledSmallSquareStringDrop["string", n] gives "string" with its first n characters dropped.

FilledSmallSquareStringDrop["string", -n] gives "string" with its last n characters dropped.

FilledSmallSquareStringDrop["string", n] gives "string" with its n character dropped.

FilledSmallSquareStringDrop["string", m, n] gives "string" with characters m through n dropped.

FilledSmallSquareStringDrop uses the standard sequence specification (see Section A.3.5).

FilledSmallSquare Example: StringDrop["abcdefgh", 2] LongRightArrow.

FilledSmallSquareStringDrop["string", m, n, s] drops characters m through n in steps of s.

FilledSmallSquare See The Mathematica Book: Section 2.7.2.

FilledSmallSquare See also: Drop, StringTake, StringPosition, StringReplacePart.

Further Examples

StringTake (modified)Nand (4.1)