Left String (bytes)

Logic Name

Left String (bytes)

Function

Cuts and returns specified number of bytes from the left of the input string.

Data Types

Location Type
The first input handler String
Logic output String
lightbulbRefer to "Logic Specifications" for details.

Properties

Category Property Description
Required Byte length Specify the number of bytes to cut.The whole string is returned if the specified number of bytes is longer than the string.
Required Encoding Specify the encoding to encode to bytes.
Required Cut by character Cuts by units of character within the specified number of bytes.
Comment Comment The comment will also be output to the specifications.It does not affect the conversion process.

Notes

Logic Sample

Mapping Definition

Logic Settings and Processing Result

The logic cuts 8 bytes from the left of the input string.
Property Settings
Property Setting
Byte length 8
Encoding Shift_JIS
Cut by character Not Checked
Input Data
SampleValue
SampleData
Sample
Result Data
SampleVa
SampleDa
Sample