I want to split a word by capital letter in PHP
For example:
$string = "facebookPageUrl";
I want it like this:
$array = array("facebook", "Page", "Url");
How should I do it? I want the shortest and most efficient way.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…