Mathematica 9 is now available

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)



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.