Len (Function)
Gets the length of the specified character string.
Parameters
<Character String>
|
The character string for which the length is to be gotten (character string).
|
Return Value
Returns the value of the integer.
The content of the value is the number of bytes of the character string gotten.
Description
Because the length is equal to the number of bytes, a 2-byte character is calculated as 2.
Example
Gets the length of the character string, "OMRON".
The results are as follows:
CHRLEN&=5