Samual Sam has Published 2492 Articles

IntlChar::charMirror() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:40:28

28 Views

The IntlChar::charMirror() functionfind the “mirror-image” character from the entered character.SyntaxIntlChar::charMirror(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::charMirror() function returns another Unicode code point that may serve as a mirror-image substitute, or codepoint itself if there is no such mapping or codepoint does not have the ... Read More

IntlChar::isJavaIDPart() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:34:30

17 Views

The IntlChar::isJavaIDPart() function is used to check whether the entered character is permissible in a java identifier character or not.SyntaxIntlChar::isJavaIDPart( val )Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isJavaIDPart()function returns TRUE if val is a Java identifier character.ExampleThe following is an example −OutputThe following is ... Read More

IntlChar::forDigit() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:31:19

16 Views

The IntlChar::forDigit() function displays the character representation of specified digit in the specified radix.SyntaxIntlChar::forDigit(digit, radix )ParametersDigit − A number to convert to a characterRadix − The radix value. Default 10.ReturnThe IntlChar::forDigit() function returns the character representation of specified digit in the specified radix.ExampleThe following is an example −OutputThe following is the output ... Read More

IntlChar::ord() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:15:53

35 Views

The IntlChar::ord()function is used to return the Unicode code point value of the entered character.Syntaxint IntlChar::ord( char_unicode )Parameterschar_unicode − A Unicode CharacterReturnThe IntlChar::ord()function returns theUnicode value as an integer.ExampleThe following is an example −OutputThe following is the output −int(72) int(57)ExampleLet us see another example −OutputThe following is the output −int(37) ... Read More

IntlChar::isULowercase() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:12:58

74 Views

The IntlChar::isULowercase() function is used to check whether the entered character is a Lowercase Unicode character or not.SyntaxIntlChar::isULowercase( val )Parametersval − The character to be checked encoded as a UTF-8 string.ReturnThe IntlChar::isULowercase() function returns TRUE if the entered value is a Lowercase Unicode character.ExampleThe following is an example −OutputThe following ... Read More

IntlChar::isIDIgnorable() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:11:39

64 Views

The IntlChar::isIDIgnorable() function is used to determine whether the entered value is an ignorable character or not.Syntaxbool IntlChar::isIDIgnorable(val)Parametersval − A character or integer value encoded as UTF-8 string.ReturnThe IntlChar::isIDIgnorable()function returns TRUE if the val is an ignorable character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true) bool(false)Read More

IntlChar::charAge() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:09:57

81 Views

The IntlChar::charAge() function is used to compute the age of the entered value, which is the Unicode version. This is when the value was first designated or assigned a character.Syntaxarray IntlChar::charAge( val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::charAge() function returns the Unicode version number ... Read More

IntlChar::isJavaSpaceChar() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 08:07:14

20 Views

The IntlChar::isJavaSpaceChar() function is used to check whether the entered value is a space character or not according to Java conventions.SyntaxIntlChar::isJavaSpaceChar(val)Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::isJavaSpaceChar()function returns TRUE of val is a space character according to Java conventions.ExampleThe following is an example −OutputThe following is ... Read More

Check if a string ends with given word in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 07:50:17

426 Views

Create a function to check whether a string ends with the specified string or not. The function should return TRUE on success or FALSE on failure.The following is the syntax −endFunc(str, lastStr)Consider the following parameters in it to check −str − The string to be testedlastStr − The text to ... Read More

IntlChar::isUUppercase() function in PHP

Samual Sam

Samual Sam

Updated on 30-Dec-2019 07:49:14

67 Views

The IntlChar::isUUppercase() function checks whether the given input character is an Uppercase Unicode character or not.SyntaxIntlChar::isUUppercase(val)Parametersval − It is a character value, which is encoded as a UTF-8 string.ReturnThe IntlChar::isUUppercase() function returns TRUE if the val is an Uppercase Unicode character or not.ExampleThe following is an example −OutputThe following is ... Read More

Advertisements