idea Steuerzeichen entfernen

This commit is contained in:
2018-10-01 12:44:55 +02:00
parent 21904d826e
commit 62c462af59
4 changed files with 36 additions and 15 deletions

10
idea.php Normal file

@ -0,0 +1,10 @@
<?php
function remove_idea_codes($input) {
$toRemove = array("<DC2>", "<ENQ>", "<ETX>", "<BS>", "<ESC>");
foreach ($toRemove as $value) {
$output = str_replace($value, "", $input);
}
return $output;
}