Just type in your message! The "|" is just a divider between the letters, not part of it.
I looked up a list of Morse code letters and made a list representing each character.