RIGHT$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{{Command|syntax=[[Image:right$.png|right|RIGHT$]]RIGHT$ <a$>, <n>
{{Command|syntax=[[Image:right$.png|right|RIGHT$]]RIGHT$ <a$>, <n>
|description=:Returns the amount of characters in a string from the right by <n>.
|description=:Returns the right-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:03, 15 January 2011

Up

Command

RIGHT$
RIGHT$
RIGHT$ <a$>, <n>


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

Parameters

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

Example

a$ = RIGHT$(c$, 5)