Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021

Middle String

Middle String

Logic name

Middle String

Function

This logic returns the specified number of bytes of string from the specified start location of the input string.

Data type

Location

Type

First input handler

String

Logic output

String

Property

Category

Property

Description

Required

Start position

Specify the start position to be returned. The leftmost position is 1.

Required

Number of bytes

Specify the number of bytes to be returned.

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 a 4-byte string from the sixth character of the input data.

Property settings

Property

Setting Value

Start position

6

Number of bytes

4

Input data

SampleData

Output data

Data

 

 

Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021