Transliterator::transliterate
transliterator_transliterate
Transliterate a string
&reftitle.description;
&style.oop;
public stringfalseTransliterator::transliterate
stringstring
intstart0
intend-1
&style.procedural;
stringfalsetransliterator_transliterate
Transliteratorstringtransliterator
stringstring
intstart0
intend-1
Transforms a string or part thereof using an ICU transliterator.
&reftitle.parameters;
transliterator
In the procedural version, either a Transliterator
or a string from which a
Transliterator can be built.
string
The string to be transformed.
start
The start index (in UTF-16 code units) from which the string will start
to be transformed, inclusive. Indexing starts at 0. The text before will
be left as is.
end
The end index (in UTF-16 code units) until which the string will be
transformed, exclusive. Indexing starts at 0. The text after will be
left as is.
&reftitle.returnvalues;
The transformed string on success, &return.falseforfailure;.
&reftitle.examples;
Converting escaped UTF-16 code units
]]>
&example.outputs.similar;
&reftitle.seealso;
Transliterator::getErrorMessage
Transliterator::__construct