This commit is contained in:
2019-06-30 18:47:21 +02:00
parent 45fa1353cf
commit 5e79a8503c

View File

@@ -21,12 +21,11 @@ function resetTasks()
//Bringt ein Wort in das richtige Format //Bringt ein Wort in das richtige Format
function transformWord($word) { function transformWord($word) {
$word = strtoupper($word); $word = str_replace("ä", "AE", $word);
$word = str_replace("Ä", "AE", $word); $word = str_replace("ö", "OE", $word);
$word = str_replace("Ö", "OE", $word); $word = str_replace("ü", "UE", $word);
$word = str_replace("Ü", "UE", $word);
$word = str_replace("ß", "SS", $word); $word = str_replace("ß", "SS", $word);
$word = strtoupper($word);
return $word; return $word;
} }