Splitting characters or words into segments
Being able to manipulate text with a splitting function is possibly one of the most versatile functions of all the Formatter by Zapier text transform options. There will be many occasions where data is presented as a string of text and you will want to extract one or more words from that string to then use in other parts of your workflows. A common example of this is the need to use either the first and last name when only the full name is presented. You can use the Formatter by Zapier Text action event with the Split Text transform function to split the word string to return the two values.
You can use words or characters to split text, and the Split Text transform function allows you to split words or strings of words that are separated by special characters using special character syntax as follows:
- Space characters: The
[:space:]
syntax is used to match space (\s
) characters. - Tab characters: The
[:tab:]
syntax is used...