EasyManuals Logo

Omron NS-RUNTIME - SOFTWARE User Manual

Omron NS-RUNTIME - SOFTWARE
157 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #79 background imageLoading...
Page #79 background image
4-5 Macros
4-23
STRRIGHT(W) Extracts the specified number of characters from rightmost
characters of a string
Applicable versions System Version 6.6 or higher
Format
STRRIGHT(D,S,n) --- ASCII code
STRRIGHTW(D,S,n) --- Unicode
Function Extracts n characters from the rightmost characters of the string S. Then
sets them in D.
Return Value None
Example
STRRIGHT ($W0,"ABCDEFG",3);
'Extract 3 characters (EFG) from the rightmost characters of the string.
Set EFG to $W0 to $W1.
STRRTRIM(W) Deletes the rightmost spaces of a string
Applicable versions System Version 6.6 or higher
Format
STRRTRIM(D,S) --- ASCII code
STRRTRIMW(D,S) --- Unicode
Function Deletes the rightmost spaces of the string S to enter them to D.
Return Value None
Example
STRRTRIM($W0, "ABC ");
'Set ABC to $W0 to $W1.
STRTRIM(W) Deletes the spaces at both sides of a string
Applicable versions System Version 6.6 or higher
Format
STRTRIM(D,S) --- ASCII code
STRTRIMW(D,S) --- Unicode
Function Extracts spaces at both sides of a string specified with S. Then stores them
to D.
Return Value None
Example
STRTRIM($W0, " ABC ");
'Set ABC in $W0 to $W1 excluding spaces at both ends.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NS-RUNTIME - SOFTWARE and is the answer not in the manual?

Omron NS-RUNTIME - SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelNS-RUNTIME - SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals