Substring/Top and tail: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,163:
/*stick a fork in it, we're all done. */</lang>
'''output''' is the same as the 1<sup>st</sup> REXX version. <br><br>
=={{header|Ring}}==
<lang ring>
aString = "1Welcome to the Ring Programming Language2"
see substr(aString,2,len(aString)-1) + nl
see substr(aString,1,len(aString)-1) + nl
see substr(aString,2,len(aString)-2) + nl
</lang>
=={{header|Ruby}}==
|