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.
I'm not quite sure what you're trying to say. You are correct when you say, "There is no [guarantee] that the number will be [in] the same spot in the name." You will have to find some way to search through the string to find it. This is an exercise to test your understanding of string manipulation.
There is a hint given that the number which corresponds to the quote in the array, is somewhere AFTER the first three characters of the name. You are also guaranteed that the quotes either belong to Robin, Joker, or Batman. No other characters are listed. So given that information, you need to think of a clever way to figure out who the quotes in the array belongs to, knowing that the number in the provided string corresponds to the quote's index. In that sense, this problem is also an exercise of problem solving.
The only "hardcoded" part of the solution you must provide is the format for the output.