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

s = "abcd"
print MID(s, 3)         ' Output: cd
print MID(s, 3, 1)      ' Output: c
String
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 a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.