Found 34486 Articles for Programming

IntlChar::isJavaSpaceChar() function in PHP

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 the output −NULL bool(false) bool(true) bool(false) NULL

IntlChar::isJavaIDStart() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 07:57:50

26 Views

The IntlChar::isJavaIDStart() function is used to check whether the entered character is permissible since the first character is a java identifier or not.SyntaxIntlChar::isJavaIDStart(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isJavaIDStart() function returns TRUE if the val begins withJava identifier character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(true)ExampleLet us see another example −OutputThe following is the output −NULL bool(true) NULL NULL

IntlChar::ord() function in PHP

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) NULL

IntlChar::isIDPart() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:13:37

64 Views

The IntlChar::isIDPart() function is used to check whether the entered character is an identifier or notSyntaxbool IntlChar::isIDPart(val)Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::isIDPart()function returns TRUE if the entered value is an identifier character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(true) bool(false) NULL

IntlChar::isULowercase() function in PHP

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

76 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 is the output −bool(true) bool(false) NULL

IntlChar::isISOControl() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:12:23

63 Views

The IntlChar::isISOControl() function is used to check whether the entered value is an ISO control code character or not.SyntaxIntlChar::isISOControl(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isISOControl() function returns TRUE if the entered value is an ISO control code character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true) bool(false) bool(false)

IntlChar::isIDIgnorable() function in PHP

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)

IntlChar::isUWhiteSpace() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:11:12

57 Views

The IntlChar::isUWhiteSpace() function check whether the given input character is a WhiteSpace Unicode character or not.SyntaxIntlChar::isUWhiteSpace(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isUWhiteSpace() function returns TRUE if the val is a WhiteSpace Unicode character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(false) bool(false)

IntlChar::charAge() function in PHP

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 of an array, if true.ExampleThe following is an example −OutputThe following is the output −array(4) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(0) }

IntlChar::charName() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:08:13

76 Views

The IntlChar::charName()function gets the name of a Unicode character.Syntaxstring IntlChar::charName( val [, choice = IntlChar::UNICODE_CHAR_NAME] )Parametersval − An integer value or character encoded as UTF-8 string.choice − The following are the constant conditions −IntlChar::UNICODE_CHAR_NAMEIntlChar::CHAR_NAME_ALIASIntlChar::CHAR_NAME_CHOICE_COUNTIntlChar::UNICODE_10_CHAR_NAMEIntlChar::EXTENDED_CHAR_NAMEReturnThe IntlChar::charName() function returns the corresponding name of input data. For no name of character, an empty string is returned.ExampleThe following is an example −OutputThe following is the output −string(9) "AMPERSAND" string(9) "AMPERSAND"ExampleLet us see another example −OutputThe following is the output −string(22) "LATIN CAPITAL LETTER K" string(22) "LATIN CAPITAL LETTER K"ExampleLet us see one more example with a different input value −OutputThe following is the output ... Read More

Advertisements