![background image](http://html1.mh-extra.com/html/omron/ns-runtime-software/ns-runtime-software_user-manual_744233078.webp)
4-5 Macros
4-22
STRLWR(W)
Converts a string to lower case
Applicable versions
System Version 6.6 or higher
Format
STRLWR(D, S) --- ASCII code
STRLWRW(D, S) --- Unicode
Function
Converts upper cases of the string S to lower cases and enter them to D.
Return Value
None
Example
STRCPY($W0, "ABC");
STRLWR($W10, $W0); 'Set abc to $W10 to $W11
STRMID(W)
Extracts the specified number of characters from a specified character
position of a string
Applicable versions
System Version 6.6 or higher
Format
STRMID(D,S,n1,n2)
STRMIDW(D,S,n1,n2)
--- ASCII code
--- Unicode
Function
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.)
Return Value
None
Example STRMID($W0,"ABCDEFG",2,3);
'Extracts 3 characters (BCD) from the 2nd of the string. Then store BCD in
$W0 to $W1.
Summary of Contents for NS-RUNTIME - SOFTWARE
Page 1: ...NS Runtime Software USER S MANUAL Cat No V093 E1 04...
Page 2: ......
Page 28: ...1 4 Comparison between the NS Series and the NS Runtime 1 14...
Page 38: ...2 6 User Interface 2 10...
Page 56: ...3 5 Converting Projects 3 18...
Page 84: ...4 5 Macros 4 28...
Page 136: ...5 11 Window Size 5 52...
Page 154: ...7 3 Error Messages and Countermeasures 7 6...
Page 156: ......
Page 157: ......