Omron NS-RUNTIME - SOFTWARE User Manual page 78

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

Advertisement

4-5 Macros
STRLWR(W)
Applicable versions
Format
Function
Return Value
Example
STRMID(W)
Applicable versions
Format
Function
Return Value
Example
4-22
Converts a string to lower case
System Version 6.6 or higher
STRLWR(D, S)
--- ASCII code
STRLWRW(D, S) --- Unicode
Converts upper cases of the string S to lower cases and enter them to D.
None
STRCPY($W0, "ABC");
STRLWR($W10, $W0);
Extracts the specified number of characters from a specified character
position of a string
System Version 6.6 or higher
STRMID(D,S,n1,n2)
STRMIDW(D,S,n1,n2)
Extracts n2 characters from n1 of a string specified with S. Then store them
in D. (n1: Specify it counting the head of a string as 1.)
None
STRMID($W0,"ABCDEFG",2,3);
'Extracts 3 characters (BCD) from the 2nd of the string. Then store BCD in
$W0 to $W1.
'Set abc to $W10 to $W11
--- ASCII code
--- Unicode

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns-nsrcl series

Table of Contents