Mid$

Category: Strings

Back to System Functions


Signature

Mid$(text As String, offset As Integer, characters As Integer)

Returns

String

Description

Returns a substring using a 1-based offset and a character count.

Example

name$ = Mid$("LunarBasic", 6, 5)