MID$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=[[Image:mid$.png|right|MID$]]MID$ <a$>, <n>, <n>
{{Command|syntax=[[Image:mid$.png|right|MID$]]MID$ <a$>, <n>, <n>
|description=:Returns the amount of characters in a string from <n> to <n>.  
|description=:Returns part of a string of characters.  


|param1=<a$>|param1_desc={{a$}}
|param1=<a$>|param1_desc={{a$}}

Revision as of 00:32, 4 January 2011

Up

Command

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


Returns part of a string of characters.

Parameters

<a$>
Text string or name of a string variable.
<n>
Start number.
<n>
End number.

Example

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