FUNCTION MID$(S AS STRING, START AS INTEGER, N AS INTEGER) AS STRING
- STRING - The source string which the characters are going to be extracted from.
- START - The start offset of the substring. start offset begins at 1
- N - Number of bytes to be extracted
Returns “N” characters starting from character “START” from the string array “S”.
PRINT MID$("ABCDEFGHIJ",2, 3) // Prints "BCD" to output window