MID
r = MID (s, start [,length])
Returns the substring of string s
starting from the
position start
with length length
. If the
length parameter is omitted, MID returns the whole string from the
position start
.
Example
"abcd"
s = print MID(s, 3) ' Output: cd
print MID(s, 3, 1) ' Output: c
Code samples using MID
3d_torus.bas
3dtorus.bas
7gables.bas
arc_ui.bas
ascii 3d.bas
base64.bas
betrayal: crows ii.bas
biorythms.bas
block.bas
bulls and cows.bas
calc.bas
Capitol pal test.bas
chess.bas
chess.bas
ciretose.bas
coordplot.bas
crgb.bas
dia de una fecha.bas
dmsareaplot.bas
dogstar5.bas
easter_mallen.bas
eliza.bas
Eliza.bas
esoteric.bas
evdemo.bas
fibanacci3.bas
g1 Life.bas
g2 Life.bas
g3 Life.bas