Results 1 to 3 of 3
Mar 5, 2013, 13:44 #1
- Join Date
- Aug 2008
- 0 Post(s)
- 0 Thread(s)
Convert wholly capitalized words in a string into uppercase first only
I have a string in which I want to find any wholly uppercase word (e.g. TEST ) and then convert it into ( Test ) using php .
I can't code it , headache after many trials !
Can someone help ?
Hint : I can't use explode(" ",$string ) to convert it into an array to itreate it .. Because the string words are not only separated by spaces , but some words are separated by \n