10 lines
226 B
PHP
10 lines
226 B
PHP
<?php
|
|
function remove_idea_codes($input) {
|
|
$toRemove = array("<DC2>", "<ENQ>", "<ETX>", "<BS>", "<ESC>");
|
|
|
|
foreach ($toRemove as $value) {
|
|
$output = str_replace($value, "", $input);
|
|
}
|
|
|
|
return $output;
|
|
} |