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

NestWhileListStringDrop (modified)


FilledSmallSquareStringTake["string", n] gives a string containing the first n characters in "string".

FilledSmallSquareStringTake["string", -n] gives the last n characters in "string".

FilledSmallSquareStringTake["string", n] gives the n character in "string".

FilledSmallSquareStringTake["string", m, n] gives characters m through n in "string".

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

FilledSmallSquare Example: StringTake["abcdefg", 3] LongRightArrow.

FilledSmallSquareStringTake["string", m, n, s] gives characters m through n in steps of s.

FilledSmallSquare See The Mathematica Book: Section 2.7.2.

FilledSmallSquare See also: Take, StringDrop, StringPosition.

Further Examples

NestWhileListStringDrop (modified)