Closed nick-chura closed 4 years ago
I appreciate the idea and effort, but using ucfirst
to capitalize manually seems simple enough. This feels like it overly complicates things.
Yeah -- I figured it was a bit of a long shot and a little complicated.
I've seen folks request this a few times, so I thought it might be worth addressing.
Code example: $name is my friend, and $heshe loves cats more than I do. $Hisher cat's name is Freddy. $Heshe has white fur with black spots. The cat, I mean...not $name!
Output: Jake is my friend, and he loves cats more than I do. His cat's name is Freddy. He has white fur with black spots. The cat, I mean...not Jake!