Denso RC5 Specifications Page 509

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 508
Chapter 15 Functions
15-61
RIGHT$ (Function) [Conforms to SLIM]
Function
Extracts the right part of a character string.
Format
RIGHT$ (<Character string >, <Number of digits>)
Explanation
This statement extracts a character string from the right side of <Character
string > for <Number of digits>.
If the character string includes a NULL value, the NULL value is returned.
If a value longer than the character string is designated in <Number of digits>,
the whole character string is returned.
Note: <Number of digits> is handled as byte counts.
Related Terms
LEN, MID$, LEFT$
Example
DIM li1 As Integer
DEFSTR ls1, ls2
ls1 = RIGHT$( “abcdefg”, 3 )
'Assigns the character string “efg” for 3 characters
'from the right in “abcdefg” to ls1.
ls2 = RIGHT$( ls1, li1 ) 'Assigns a character string for the number of
'characters from the right of the value ls1 to ls2.
Page view 508
1 2 ... 504 505 506 507 508 509 510 511 512 513 514 ... 691 692

Comments to this Manuals

No comments