Morse code is dot issue and longer time before next word.

I don't know where you got this code from, but typically we avoid using the C++ String class in Arduino code for various reasons.

See (for instance)