Extract a Part of a Text
-
Prerequisite
What is a Separator?
A separator is a letter or text that can be used to split a text into one or more parts.
For example, the text “abc|def” can be separated into two parts by the letter “|”: part 1 will be “abc” and part 2 will be “def”.
The “Part ( ) of ( ) by ( )” Block
This block is a reporter block in the operators category.
When you run the “Part (part number) of (text) by (separator)” block, it will first separate the text into a few parts using the separator, then it will return one of the parts based on the part number. Any letter can be used as the separator.
The Default Separator
The “Part ( ) of ( ) by ( )” block uses the “White Space” letter as the default separator**. So if you don’t change the input box after “by”, the text will be split using the white space.