Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thank you for your reply. I still don't understand how the trim could be causing this behaviour. I have a string as a result, which is put out in my first set of translations. As you can see, all is correctly translated, except that i produce an additional whitespace at the end. Now i take this exact result string and call trim(), as the very last operation. How could this mess up the whole result in that way? I'm not sure what i am missing.
This line in decodeMorse(..)
"return result.toString();"
was changed to this
"return result.toString().trim();"
Hi, you have extra spaces at the end of several results and about the last one, your algorythm fails to determine the right time unit. And about "THE QUICK BROWN..."... well, you seem to have other problems in your code too... ;)
Take a deep breathe, and dive into it... again... ;)
This comment is hidden because it contains spoiler information about the solution