MID$: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
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 |
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= | |||
{{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=< | |param2=<first>|param2_desc=First character. | ||
|param3=<n>|param3_desc=Number of characters. | |||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :a$ = MID$(c$, 3, 7) | ||
[[Category:Internal_Macro_Functions]] | [[Category:Internal_Macro_Functions]] |
Latest revision as of 00:35, 4 January 2011
Command
- 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)