Get subtext Action(Power Automate Desktop)
This action cuts out a portion of the specified text.
This function is similar to the MID function in Excel and is often named "substring" in programming languages.
How to use
Drag Get subtext from Text onto the Workspace.
Specify a text.
Specifies the starting position of the cut out.
Selecting a text position specifies numerically where the text will be cut from.
The beginning is 0. (Specifying 0 is the same as selecting "Start of text".)
Specify how many characters to cut out from "Start index".
If the "Start index" is set to the beginning of the text and the length is set to the end of the text no cut out will be performed (the resulting variable will be the same as the "Original text").
Select "Number of chars" to specify numerically how many characters to cut out.
The result of the cutout is stored.
Examples of Use
How to use line breaks in expressions.
How to leave only the GET parameter from the URL.
How to remove URL parameters.
How to delete text by specifying the number of characters from the left or right.
How to leave text with a specified number of characters from the left or right.
How to extract characters before/after/between of the specified text.