If there is a word 123keyFox, how can I remove/delete 123key from the word and get only Fox (or any letters after key))?
Split text at key, get second item from the list
1 Like
Like so:
In this, the output of name will be Fox.
This is because the index is set to 2.
Changing the index to 1, will change the output of name to 123.
This is because we have chosen the word key as a separator.
Thus, setting the index as 1 will fetch the words before key, and setting it as 2 will select the words after key.
Another example:
In this context, the output will be XYZ.
This is because the split text block uses at as the dividing point and forms a list of strings. In this case, the list formed, using key as the dividing word, would be [123 For XYZ]. Hence setting the index as 3 will retrieve the third item in the list, i.e. XYZ.
3 Likes