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.
It worked finally, thank you so much guys! @Chrono79 @Mednoob
Thank you, I did not even notice it! On my IDE the space does not appear, can I share a screenshot?
Do you know I could refactor my existing code to make the space disappear, if possible?
Bro how is it wrong? When you run it you get the output you expect. Try run the code with any string, you will get the output you expect without the first and last character. When I use 'world' it prints 'orl', when I use 'hello' it prints 'ell', etc. When I originally run the test for this code in the kata IDE, it said failed, expect 'loquen' but obtained 'loquen'. It gave me character by character the same thing. Please try run the code and check yourself the expected strings.
This comment is hidden because it contains spoiler information about the solution