regex - php preg_split first uppercase -
Using the following code,
You can blast the string with uppercase. But how do you blast it only on uppercase first? Say you have Hello minister there
. I want to meet hi
. I can add the result to the above link, but if there is any way to leave it, then it's great!
Thanks
According to your document, RTM will also have a $ Limit
parameter to answer:
$ pieces = Preg_split ('/ (? = [AZ]) /', $ str, 1);
Comments
Post a Comment