LEFT
The LEFT function outputs the first n characters of the string from the left.
The number of characters returned is specified by the Count property.
Input
Number of Connections: Min: 1/Max:2
| Input | Data Type | Description |
| Input1 | String | The original string. |
| Input2 | Integer | Sets the Count property. (optional) |
Output
| Output | Data Type | Description |
| Output1 | String | The sub-string. |
Property
| Name | Property Type | Description |
| Count | Integer | The number of characters from the left of the string to output. |
Topic
- A negative integer will result in an error.
- If the
Count property is larger than the number of characters in the input string, the entire input string is output.
- An empty string is returned if the Count property is set to zero.
Example
| Property | Output |
| Input 1 | Infoteria Corp. | Count | 9 | Infoteria |