I am trying to write a function to clean up user input.
I am not trying to make it perfect. I would rather have a few names and acronyms in lowercase than a full par
Separate string into arrays using ./!/? as delimeter. Loop through each string and use ucfirst(strtolower($currentString)), and then join them again into one string.
./!/?
ucfirst(strtolower($currentString))