I have a variable thread.particpants[0].name
which is a string. It can contain strings of characters like this: "Jean Jean"
or chains like that "Jean"
.
I would like to know when this chain is composed of 2 words, and when it is composed of 1 word