How does one break a string down by capital letters with PHP?
问题 I have a string: CamelCaseString I want to explode(), split(), or some better method on capital letters to break this string down into the individual words. What's the simplest way to do this? --- SOLUTION UPDATE --- This link is to a slightly different question, but I think the answer will generally be more useful than the answers to the current question on this page: How can I add a space in string at capital letters, but keep continuous capitals together using PHP and a Regex? 回答1: You