|
StringDrop
StringDrop["string", n] gives "string" with its first n characters dropped.
StringDrop["string", -n] gives "string" with its last n characters dropped.
StringDrop["string", n ] gives "string" with its n character dropped.
StringDrop["string", m, n ] gives "string" with characters m through n dropped.
StringDrop uses the standard sequence specification (see Section A.3.5).
Example: StringDrop["abcdefgh", 2]  .
StringDrop["string", m, n, s ] drops characters m through n in steps of s.
See The Mathematica Book: Section 2.7.2.
See also: Drop, StringTake, StringPosition, StringReplacePart.
Further Examples
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |