Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
Right String
Logic name
Right String
Function
This logic returns the specified number of bytes of string from the right of the input string.
Data type
|
Location |
Type |
|---|---|
|
First input handler |
String |
|
Logic output |
String |
Property
|
Category |
Property |
Description |
|---|---|---|
|
Required |
Number of bytes |
Specify the number of bytes to be returned. The whole string is returned if the specified number of bytes is longer than the input string. |
|
Comment |
Comment |
It does not affect the conversion processing. |
Notes
Multi-byte characters are not supported.
Example of logic use
Mapping definition
Logic settings and processing result
This logic returns an 8-byte string from the right of the input data.
Property settings
|
Property |
Setting Value |
|---|---|
|
Number of bytes |
8 |
Input data
|
SampleData |
Output data
|
mpleData |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021