Substring/Top and tail: Difference between revisions

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}}==