Ad
  • Custom User Avatar

    I did the same thing but didn't think to update the argument within the definition of the for loop.

  • Custom User Avatar

    Honestly, I never considered just replacing occurrences of 'T' in the argument with 'U', but I guess that would be more efficient than the method I used. I turned the argument into a character array using toCharArray() and added each character to a new string unless it was theh character 'T' in which case I added 'U'. You gotta work smarter not harder though.