| Regional String Functions | |
|---|---|
| convert_cyr_string() | |
| string convert_cyr_string(string $sConvert, string $sFromCharSet, string $sToCharSet) | |
This function returns a string version of $sConvert with the Cyrillic character of the set $sFromCharSet replaced with the characters of $sToCharSet. The supported character sets are as follows
|
|
| Argument | Description |
| string $sConvert | This is the initial string that is to be converted. |
| string $sFromCharSet | This is the initial character set of $sConvert. It is designated by a single letter in the list above. |
| string $sConvert | This is the character set of returned string. It is designated by a single letter in the list above. |
| hebrev() | |
| string hebrev(string $sHebrew, int $iMaxCharsPerLine = 0) | |
| This function returns a string version of visual corverted from the logical Hebrew text string $sHebrew. | |
| Argument | Description |
| string $sHebrew | This is the initial Hebrew string that is to be converted. |
| int $iMaxCharsPerLine | This is the maximum characters per line. |
| hebrevc() | |
| string hebrevc(string $sHebrew, int $iMaxCharsPerLine = 0) | |
| This function returns a string version of visual corverted from the logical Hebrew text string $sHebrew. It is the same as hebrev(), except that '\n' is converted to ' '. |
|
| Argument | Description |
| string $sHebrew | This is the initial Hebrew string that is to be converted. |
| int $iMaxCharsPerLine | This is the maximum characters per line. |
| localeconv() | |
| array localeconv() | |
This function returns an array of information on localized monetary and numeric formatting. The associate array elements are as follows:
|
|
| money_format() | |
| string money_format(string $sFormat, double $dValue) | |
| This function returns a monetarily formatted version of $dValue. | |
| Argument | Description |
| string $sFormat | This is the format specification. |
| double $dValue | This is the value that will be formatted. |
| nl_langinfo() | |
| string nl_langinfo(ing $iItem) | |
| This function returns a specific element of the locale. | |
| Argument | Description |
| ing $iItem | This is the item that is to be returned. |
| number_format() | |
| string number_format(float $fValue, int $iAfterRadix = 0, string $sRadix = ".", string $sThousands = ",") | |
| This function returns the string corresponding to $fValue with $iAfterRadix digits after the decimal or radix point. The number is fomatted with the string $sRadix as decimal or radix point and the string $sThousands after the thousands digit. | |
| Argument | Description |
| float $fValue | This is the value that is to be represented. |
| int $iAfterRadix | This is number of digits that are to be displayed after the decimal point. |
| string $sRadix | This is the string that will represent the decimal or radix point. Some countries use a different character, instead of the period. |
| string $sThousands | This is the string that will represent the separator for every thousand multiple. Some countries use a different character, instead of the comma. |
| setlocale() | |
| string setlocale(ing $iCategory, various $xLocale) | |
| This function returns the specific, requested locale. | |
| Argument | Description |
| ing $iCategory | This is the category of functions that are affected by the locale. |
| various $xLocale | This is an array or a string that specifies a locale. |
© 20072025 XoaX.net LLC. All rights reserved.