Mid$()

Last Modified: 9/8/2021

Returns a defined sections of String expression.

Arguments

NameTypeRequiredDescription
Str String Yes The expression to return the leftmost characters from.
Start Integer, Long Yes The position of the String to start at.
Length Integer, Long Yes The number of characters to return.

Example

Syntax: Mid$(<Str>, <Start>, <Length>)
    a$ = "Hello World"
    Print Mid$(a$,6,5)

See Also

Left$(), Right$()