Anonymous user
Substring/Top and tail: Difference between revisions
→{{header|MATLAB}} / {{header|Octave}}
Line 1,036:
str(2:end-1)
</lang>
=={{header|MiniScript}}==
<lang MiniScript>test = "This thing"
print test[1:]
print test[:-1]
print test[1:-1]
</lang>
{{out}}
<pre>
his thing
This thin
his thin
</pre>
=={{header|Neko}}==
|