Calculate Middle String

Logic Name

Calculate Middle String

Function

Cuts the middle of the input string and returns the result.

Data Types

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

Properties

Category Property Description
Comment Comment The comment will also be output to the specifications.It does not affect the conversion process.

Function Details

Set the cutting point of string and word count for the string by input data.
Enter the cutting point in the second input handler, and enter the number of characters to cut in the third input handler.

Character position

If you want to cut the string from the first character of the string, set 1.
If the second character, set 2. If the third one, set 3.
The string to be cut includes the character specified as the cutting point.

Logic Sample

Mapping Definition

Logic Settings and Processing Result

Extract a substring from the input string based on the cutting point and the word count, and output it.
Property Settings
Property Setting
None  
Input Data
Sample Data,5,3
Sample Data,1,4
Sample Data,8,4
Result Data
le
Samp
Data