I'd prefer the name ucwords to highlight the similarity to PHP