Center cut
Activity Description
Cuts the string from the middle. Starting from the “start position”, the portion of the string whose length is the “cutoff length” will be cut off, starting from position 0!
Property Description
Output string
Outputs the remaining string after cropping as a variable
Start Position
Input the position to start cropping, the position starts from 0
Length
Input the length of the string to be trimmed
String
Enter the source string to be trimmed
Example of using
Running result:
Execution steps: Crop the first 12 characters of the string “abcdabcdacbd#$%^”.