I am a newbie and this is a tough one for me.
I have a text inside a variable:
$bio = 'text, text, tex ...';
I can use the ucfirst php function to make word in the text start with an uppercase letter.
The problem is I don't want the words with one, two or three letters be capitalized becouse it would look unprofessional.
IMPORTANT: But I want also to keep the letter "I" capitalized since it's proper english grammar.
So a text like: this is a text without ucfirst function and i think it needs some capitalizing
Would look like: This is a Text Without Ucfirst Function and I Think it Needs Some Capitalizing
Any ideas?