In many cases, I'd go for a regex, though with this (because it's just a
straight replacement), I'd just use str_replace (and since about the closest
thing to a vertical tab would be a new line in html, use that as the
$string = str_replace("^K", "\n", $string);
"Jimmy Brake" <[EMAIL PROTECTED]> wrote in message
> I keep getting that evil little character ... ^k from mac users (pre X)
> and I need to remove it. Does anyone know how to remove?
> This site has that character as a vertical tab. This character is what
> is used in MS Excel when people hit return inside a cell. If they copy
> and paste that into a form its ok, but when I export that data to a csv
> it gets ugly.
> Thanks in advance!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php