MID$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=MID$ <a$>, <n> |description=*DESCRPTION* |param1=<a$>|param1_desc={{a$}} |param2=<n>|param2_desc={{n}} }} ===Example=== :- MID$ Category:Internal_Macro_Functions
 
Mikeo (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=MID$ <a$>, <n>
[[:Category:Internal_Macro_Functions|{{Up}}]]
|description=*DESCRPTION*
 
{{Command|syntax=[[Image:mid$.png|right|MID$]]MID$ <a$>, <first>, <n>
|description=:Returns part of a string of characters.


|param1=<a$>|param1_desc={{a$}}
|param1=<a$>|param1_desc={{a$}}
|param2=<n>|param2_desc={{n}}
|param2=<first>|param2_desc=First character.
|param3=<n>|param3_desc=Number of characters.
}}
}}


===Example===
===Example===
:- MID$
:a$ = MID$(c$, 3, 7)


[[Category:Internal_Macro_Functions]]
[[Category:Internal_Macro_Functions]]

Latest revision as of 00:35, 4 January 2011

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)