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.
You can take 2 out of brackets.
yes, Strings are always immutable (unchangable)
This comment is hidden because it contains spoiler information about the solution
But now you do...
Wish I knew the replace method......
This solution doesn't work but was accepted for some reason... I would've modified it but accidentally pressed Submit and can't figure out how to modify it :/
I googled, and may be understood the patterns problem you mentioned. But this version is same as:
replace(char oldChar, char newChar) right?
This comment is hidden because it contains spoiler information about the solution
doesen't work
dumb af
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Converting the whole string to upper case during each iteration is extremely ineffective!
How do you convert a char directly into uppercase using a string method?