LEFT$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Category:Internal_Macro_Functions|{{Up}}]]
{{Command|syntax=[[Image:left$.png|right|LEFT$]]LEFT$ <a$>, <n>
{{Command|syntax=[[Image:left$.png|right|LEFT$]]LEFT$ <a$>, <n>
|description=:Returns the value of the amout of characters in a string from the left by <n>.
|description=:Returns the left-hand part of a string of characters.


|param1=<a$>|param1_desc={{a$}}
|param1=<a$>|param1_desc={{a$}}
|param2=<n>|param2_desc={{n}}
|param2=<n>|param2_desc=Number of characters.
}}
}}



Latest revision as of 00:02, 15 January 2011

Up

Command

LEFT$
LEFT$
LEFT$ <a$>, <n>


Returns the left-hand part of a string of characters.

Parameters

<a$>
Text string or name of a string variable.
<n>
Number of characters.

Example

a1$ = LEFT$(c$, 9)