Jump to content

PHP FUCTION HELP?


daxguy

Recommended Posts

$string = House Full 2010 Hindi Movie Watch Online : Dailymotions Video Link : Alternative Link : ;

 

i want to take out ":" from the string.. can anyone tell me wat function should i use to get this following result

 

House Full 2010 Hindi Movie Watch Online Dailymotions Video Link Alternative Link

 

help please..

Link to comment
https://forums.phpfreaks.com/topic/210634-php-fuction-help/
Share on other sites

<?php
$string = "House Full 2010 Hindi Movie Watch Online : Dailymotions Video Link : Alternative Link :";
$string = str_replace(':', '', $string);
echo $string; // Result is: House Full 2010 Hindi Movie Watch Online Dailymotions Video Link Alternative Link
?>

Link to comment
https://forums.phpfreaks.com/topic/210634-php-fuction-help/#findComment-1098819
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.