preg_split
Posted: Mon Nov 28, 2005 6:36 pm
Am I misunderstanding the preg_split function?
I want to extract the letter B from "ABCDEF":
However I am getting :
I have no idea how this can be?
Any ideas?
Thanks,
Rob.
I want to extract the letter B from "ABCDEF":
Code: Select all
$keywords = preg_split("/A+C/", "ABCDEF");
print_r($keywords);Code: Select all
Array ( [0] => ABCDEF )Any ideas?
Thanks,
Rob.