Mid-func
This function returns n characters from the string str$, starting at position StartPos. If the option n is omitted, then the function returns everything from StartPos.
string Mid(string str$, int StartPos [, int n])$
str$
StartPos
n
Returns the extracted characters.
int n1=2; int n2=3; string str$ = "aabcdef"; string strMid$ = Mid(str$,n1,n2)$; strMid$ =; // returns "abc"
string str$ = "1/9/2014-1/18/2014"; int nn= Find(str$,"-")+1; string str2$ = Mid(str$,nn)$; str2$ =; // returns "1/18/2014"
Search Find Left Right Between