stripslashes fonksiyonu

Php'de veritabanından alınan verilerdeki escape karakterini ( \ ters slash) nasıl yok edebilirim?

<?php
$data 
"I\'m the king of the castle";
echo 
stripslashes($data);  

?>

I'm the king of the castle