Section2 Functions
NS series Macro Reference
STRLEN(W)
Applicable versions
Format
Function
Return Value
Example
STRLTRIM(W)
Applicable versions
Format
Function
Return Value
Example
STRLWR(W)
Applicable versions
Format
Function
Return Value
Example
Gets string length
System Version 6.6 or higher
・・・ASCII code
STRLEN(S)
STRLENW(S) ・・・Unicode
Returns the length of the string S (The number of bytes of S).
String Length
STRCPY($W0, "ABC");
$W10 = STRLEN($W0);
'Set 3 to '$W10
Deletes the leftmost spaces of a string
System Version 6.6 or higher
STRLTRIM(D,S)
STRLTRIMW(D,S)
Deletes the leftmost space of the string S to enter it to D.
None
STRLTRIM($W0, "
'Store ABC excluding left spaces of a string in $W0 to $W1.
Converts a string to lower case
System Version 6.6 or higher
STRLWR(D, S)
STRLWRW(D, S)
Converts upper cases of the string S to lower cases and enter them to D.
None
STRCPY($W0, "ABC");
STRLWR($W10, $W0); 'Set abc to $W10 to $W11
・・・ASCII code
・・・Unicode
ABC");
・・・ASCII code
・・・Unicode
44