Код: Выделить всё
$first_string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$second_strong = "GHIJKLM";
function str_slayer($first_string, $second_string ){
//doing some stuff
return $data; // "ABCDEFNOPQRSTUVWXYZ";
}
Подробнее здесь: https://stackoverflow.com/questions/680 ... ing-in-php