|
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 Section 2.8.2.
See also: Drop, StringTake, StringPosition, StringReplacePart.
New in Version 2; modified in 4.
Further Examples
|