Download Print this page

Omron NS Reference Manual page 66

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
STRRTRIM(W)
Applicable versions
Format
Function
Return Value
Example
STRTRIM(W)
Applicable versions
Format
Function
Return Value
Example
Deletes the rightmost spaces of a string
System Version 6.6 or higher
STRRTRIM(D,S)
STRRTRIMW(D,S)
Deletes the rightmost spaces of the string S to enter them to D.
None
STRRTRIM($W0, "ABC ");
'Set ABC to $W0 to $W1 excluding the rightmost spaces of the string.
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
46

Advertisement

loading

This manual is also suitable for:

Ns-series