The only thing I have found is that sometimes quotes will get weird in the if checks. Only if quotes are in the input though. Try this,
if "She said, "Hello all," with confidence."=="She said, "Hello all," with confidence." echo yes
You will get the following error:
all was unexpected at this time.
At the same time, changing it to a's surrounding does the same thing.
if aShe said, "Hello all," with confidence.a==aShe said, "Hello all," with confidence.a echo yes
But with a different error word:
said was unexpected at this time.
I'm not sure the nuances on this, or how one goes about making sure that they use encapsulators that will always work, but it is something to be aware of when building something that may have a non-standard input.