Substring/Top and tail: Difference between revisions

add BQN
(Added solution for Action!)
(add BQN)
Line 388:
KNIGHT
NIGHT</pre>
 
=={{header|BQN}}==
Drop(<code>↓</code>) is the main function used here.
 
<lang bqn> str ← "substring"
"substring"
1↓str
"ubstring"
¯1↓str
"substrin"
1↓¯1↓str
"ubstrin"</lang>
 
=={{header|BBC BASIC}}==
236

edits