<?php $string = 'Привет мир';$needle = 'Привет';$replace = 'Пока';echo str_replace($needle, $replace, $string);// outputs: Пока мир
You have javascript disabled. You will not be able to edit any code.