LEN
The LEN function returns the length of a string.
Input/Output
Number of Connections: 1
| Input | Data Type | Description |
| Input1 | String | The string to check. |
| Output | Data Type | Description |
| Output1 | Integer | The length of the string. |
Property
| Name | Property Type | Description |
| Mode | choice |
Specifies how to count the length.
| String | - |
Count by the number of characters.
|
| Binary | - |
Count by the number of bytes.
|
|
| Encoding | choice | Specifies encoding when counting by bytes. |
Topic
- If the input string is empty, the component will return 0.
Example
| Property | Output |
| Input1 | Infoteria Corp. | Mode | String | 15 |
| Property | Output |
| Input1 | 日本語サンプル | Mode | String | 7 |