Hi all,
Does anyone know if I would like to tokenize a line which contains M character, what should I do ?
Consider these lines :
1 Ferry Kooyong Rd. Armadale 3161 M
2 Martha Spring Rd. Caufield M
3 Smith Pear Av. North Melb M
I have tried using :
$word = strtok($buffer, ",\nM");
But, it will remove M of "2 Martha ..."
And, this ...
word = ereg_replace("M", " ", strtok(","));
But it didn't remove the trailing M either.
Any suggestion would be appreciated.
Ferdinand