Hello Vernon,

Tuesday, January 6, 2004, 2:29:31 PM, you wrote:

V> I'm trying to use str_replace to ignore sertain characters from a recordset
V> field and it seems I am having difficulties with ignoring commas and
V> carriage returns. I've gotten the following but when searching for, let's

Nowhere in your replacement array do you check for, or remove,
carriage returns.

Add this \n to it:

$replacement = array("\"", "\,", ".", "!", "?", "\n");

Your exploded array should now be correct.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to