I want to use the trim command to get rid of a trailing slash that is showing up on my displayed text. how do i tell the trim command to get rid of a '\' ? See code below:
srand((double)microtime()*1000000);
$quotes=file("quotes.dat");
$select=rand(0, count($quotes)-1);
echo "<br>";
$showit = $quotes[$select];
echo trim($showit);
the result is similar to this:
"I will return the seeing-eye dog\"
Notice the trailing slash... a little help please.