Substring/Top and tail: Difference between revisions

Logo
No edit summary
(Logo)
Line 489:
julia> chop("My String") #alternate remove last character
"My Strin"</lang>
 
=={{header|Logo}}==
<lang logo>make "s "|My string|
print butfirst :s
print butlast :s
print butfirst butlast :s</lang>
 
=={{header|Lua}}==
Anonymous user