Posted by vbMark on 09/20/05 18:29
I need to check for sentences that have a space before the period and
remove the space. I've tried:
$sentence = str_replace(" .", ".", $sentence);
but it does not work. I've tried other ways with no success.
Why doesn't this work and how do I do this?
Thanks!
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Get freeware
http://www.vbmark.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Navigation:
[Reply to this message]
|