Mid()
Syntax
Result$ = Mid(String$, StartPosition [, Length])Description
Extract a string of specified 'Length' from the given 'String$'. 'StartPosition' (minimum value = 1) specifies which character position to start extracting from. 'Length' is optional and specifies how many characters from that position you want to extract. If 'Length' is omitted, characters are extracted until the end of string.Example:
Debug Mid("Hello", 2) ; Will display "ello" Debug Mid("Hello", 2, 1) ; Will display "e"
Supported OS
All