Substring/Top and tail: Difference between revisions

Content added Content deleted
(Added Quackery.)
Line 1,120: Line 1,120:
(The difference between "substring" and "StringTools:-SubString" lies in how each treats a name as input; the former returns a name, while the latter returns a string.)
(The difference between "substring" and "StringTools:-SubString" lies in how each treats a name as input; the former returns a name, while the latter returns a string.)


=={{header|Mathematica}}==
=={{header|Mathematica}}/{{header|Wolfram Language}}==

<lang Mathematica>StringDrop["input string",1]
<lang Mathematica>StringDrop["input string",1]
StringDrop["input string",-1]
StringDrop["input string",-1]