×
Menu
Index

MID Subroutine

 
Usage:
s = MID(s, pos [, len])
 
Description:
Returns a substring of a string. pos specifies the 1-based index of the start of the substring. len specifies the number of characters to return. If len is omitted, the rest of the string is returned.
For example, MID("Test string", 6, 3) returns "str", and MID("Test string", 6) returns "string".