When you realize a Method already exists, for a String Class, that you racked your brain and wrote multiple lines of code to do the same exact thing.
Lesson learned: Refer to the Apex Reference Guide more often
Your work environment…
Are you working in an ideal setting? One that brings out the best of your