Where to add code for String Capitalization Functions
-
Hello everyone – I am experiencing problems with capitalization at my post headlines. I’ve found the code to correct the problem (below) but have no idea where to insert it. Where should I add this code?
function toUpperCase($input){
return strtoupper(strtr($input,’?ü??i??’, ‘?ü?I???’) );
}function toLowerCase($input){
return strtolower(strtr($input,’?ü?I???’,’?ü??i??’));
}// also uppercase
function toUpper($text) {
return mb_strtoupper(str_replace(‘i’, ‘?’, $text), “UTF-8”);
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Where to add code for String Capitalization Functions’ is closed to new replies.