Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP strtr — Translate characters or replace substrings

<?php
//In this form, strtr() does byte-by-byte translation
//Therefore, we are assuming a single-byte encoding here:
$addr = strtr($addr, "äåö", "aao");
?>
 
PREVIOUS NEXT
Tagged: #PHP #strtr #Translate #characters #replace #substrings
ADD COMMENT
Topic
Name
6+5 =