Mid()

Syntax

Result$ = Mid(String$, StartPosition, Length)

Description

Extract a string of specified 'Length' from the given 'String$'. 'StartPosition' start to 1, which indicates the first character. 'Length' is the needed length for the output string.

Example:
   Mid("Hello", 2, 3) ; Result will be "ell". 

Supported OS

Windows, AmigaOS, Linux

String - Index