MID$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
[[:Category:Internal_Macro_Functions|{{Up}}]]
{{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 the amount of characters in a string from <n> to <n>.  

Revision as of 22:37, 30 July 2010

Up

Command

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


Returns the amount of characters in a string from <n> to <n>.

Parameters

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

Example

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