Omron NS-RUNTIME - SOFTWARE User Manual page 79

Ns-runtime software
Hide thumbs Also See for NS-RUNTIME - SOFTWARE:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns-nsrcl series

Table of Contents