Help Find Characters Position In A String

I have a text, how can I find the location of characters alreading in that text. Here is the characters (|) in position 13, 26 as the figure:

using this block
this will return the first position of "|"
modifiy it to get all positions
blocks

1 Like

These blocks are draggable.
(where string is your input/substring)

Note that starts at text will only return the first index of the specified substring.

Dear @thinh,
as a mix of the two above posts, (the matching character is a variable, so it can be varied) you can try this:

.
Cheers.

1 Like

Were you looking for the split at '|' block?

The cumulative sum of item lengths will come close.

1 Like