MID$

From Macros Wiki
Jump to navigationJump to search

Up

Command

MID$
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)