monitor-frontend/idea.php

10 lines
226 B
PHP
Raw Normal View History

2018-10-01 12:44:55 +02:00
<?php
function remove_idea_codes($input) {
$toRemove = array("<DC2>", "<ENQ>", "<ETX>", "<BS>", "<ESC>");
foreach ($toRemove as $value) {
$output = str_replace($value, "", $input);
}
return $output;
}