Expression string..?

I want to use anemone component

and I want to use a conditional statement to determine when the loop ends.

But I don’t know how to replace characters in conditional statement.
string? character?

And if I keep running the loop and it doesn’t meet the desired condition, does the computer stop?

If so, I’ll do it by reducing the random domain range.

Any other helpful comments are always welcome.

Expression help (10.2 KB)

I completely don’t understand what your definition should do, but to stop your loop you can use a “special” number that wouldn’t appear in any case, your random domain is 0 to 1, so -1 can neve happen: