Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function lt_replace($q) {
- $q = mb_strtolower($q,'UTF-8');
- $q = str_ireplace('ą','a', $q);
- $q = str_ireplace('č','c', $q);
- $q = str_ireplace('ę','e', $q);
- $q = str_ireplace('ė','e', $q);
- $q = str_ireplace('į','i', $q);
- $q = str_ireplace('š','s', $q);
- $q = str_ireplace('ų','u', $q);
- $q = str_ireplace('ū','u', $q);
- $q = str_ireplace('ž','z', $q);
- return $q;
- }
Add Comment
Please, Sign In to add comment