Identify and get capitalized words in a string in php
<p>Is there a function or way on how to get the CAPS words on a sentence or string?
Example: <code>$str = "ABOUT US who we are"</code>
how am i able to identify and get the capitalized words <code>"ABOUT US"</code>and separate it to small letter words <code>"who we are"</code>? So that the output would be <code>$str1 = "ABOUT US"</code> and <code>$str2 = "who we are"</code>... thanks!</p>
