Noah van der Aa Noah van der Aa - 8 months ago 48
PHP Question

PHP Replace text in string

i have a problem.
I want in php to replace all 'blablabla' with 'bla'(because i hate blablabla). Here's my code:

$string = 'Dracula always says BlaBlaBla but says he never says BlaBlaBla';
$result = answer to replace here



Use srt_replace function to do that like this :