Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / New in Version 4.x / Programming /

StringDrop

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

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

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

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

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

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

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

FilledSmallSquare See Section 2.8.2.

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

FilledSmallSquare New in Version 2; modified in 4.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: