RIGHT

From MCS Wiki AVR
Revision as of 23:23, 11 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

Return a specified number of rightmost characters in a string.

 

 

Syntax

var = RIGHT(var1 ,n )

 

 

 

Remarks

var

The string that is assigned.

Var1

The source string.

st

The number of bytes to copy from the right of the string.

 

 

See also

LEFT , MID

 

 

Example


Dim S As String * 15 , Z As String * 15
S ="ABCDEFG"
Z = Left(s , 5)
Print Z 'ABCDE
Z = Right(s , 3) : Print Z
Z = Mid(s , 2 , 3) : Print Z
End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language