Bobby Morrison wrote:
I have this code based on English to Morse but cannot work out how to make it Morse to English.
Campbell Ritchie wrote:I thought the mariners' convention was short space between successive letters and long space between words; you can mimic that with a double space, in which case the "" returned between those spaces might be useful as a word separator.
Why split on commas? When Morse code was in common use, they used single space (or a silence equivalent to it) to separate successive letters and double space to separate words. If you do that and split on a single space, you will get an empty String "" between words, which you can use as a signal to add a space to your plan text.
Bobby Morrison wrote:. . . I'm gonna need to use a Split Method to separate the ",".
You don't actually. But using arrays is something you can do later. Remember that Morse code can be used to translate any writing using Latin text.
I'm also wanting 2 Arrays (English, Morse) to help ranslate the message. . .