![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222234.webp)
4
Using
Tool
232
Using Custom Command
FZ4 User's Manual
Fetches the specified character string length from the left of the character string.
Left$(<Character String>,<Length of Characters>)
Parameters
<Character String>
The Character String to be extracted (character string).
<Length of Characters>
The length of the character string to be extracted (integer).
Return Value
Returns the value of the character type string.
The content of the value is the extracted character string.
Description
Fetches the arbitrary character string length from the left (head) of the <Character String>.
Specify a character constant or a character variable for the eligible character string in <Character
String>.
Specify the number of bytes to extract from the character string in <Length of Characters>. Specify the
number of bytes in the range from 1 to the number of bytes eligible for extraction in the character string.
When the <Length of Characters> exceeds the number of bytes eligible for extraction of the character
string, all of the bytes eligible for extraction are returned.
Example
Extract 8 bytes from the character string and set them to the Scene Title.
CHARA$="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
TITLE$=Left$(CHARA$,8)
The results are as follows:
TITLE$="ABCDEFGH"
Gets the length of the specified character string.
Len (<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.
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......