MID$

From Macros Wiki
Jump to: navigation, search

Up

Command

MID$
MID$ <a$>, <first>, <n>


Returns part of a string of characters.

Parameters

<a$>
Text string or name of a string variable.
<first>
First character.
<n>
Number of characters.

Example

a$ = MID$(c$, 3, 7)