PHP » GoLang |
login |
register |
about
|
GoLang mb_convert_case
request it (499)
GoLang replacement for PHP's mb_convert_case
[edit | history]
mb_convert_case(PHP 4 >= 4.3.0, PHP 5, PHP 7) mb_convert_case — Perform case folding on a string Description
string mb_convert_case
( string
$str
, int $mode
[, string $encoding = mb_internal_encoding()
] )
Performs case folding on a string, converted in the way specified by
Parameters
Return Values
A case folded version of UnicodeBy contrast to the standard case folding functions such as strtolower() and strtoupper(), case folding is performed on the basis of the Unicode character properties. Thus the behaviour of this function is not affected by locale settings and it can convert any characters that have 'alphabetic' property, such as A-umlaut (Ä). For more information about the Unicode properties, please see » http://www.unicode.org/unicode/reports/tr21/. Examples
Example #1 mb_convert_case() example
<?php
Example #2 mb_convert_case() example with non-Latin UTF-8 text
<?php See Also
|
more
Recently updated
more
Most requested
|