MID

SmallBASIC syntax groups: 


String function MID


10
20  MID (s, start [,length])
30
Returns the part (length) of the string s starting from ‘start’ position.


See examples


If there is insufficient information on this page and you wish learn more about MID, please send an email to smallbasic@gmail.com. You can help to improve information about MID by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

If the ‘length’ parameter is omitted, MID returns the whole string from the position ‘start’.