Set up title case a string function, but still isn't working properly.