You’re welcome! I think the problem is related to extreme grapheme clusters. See the link I added to the end of the post right above this one.
So it’s not a character that you can remove from the string easily, such as a space. Instead, it’s the way the speech recognition is formatting characters compared to the way that pasted text is formatted in Thunkable.