Found 34486 Articles for Programming

IntlChar::isupper() function in PHP

Samual Sam
Updated on 30-Dec-2019 08:47:11

118 Views

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

IntlChar::charDigitValue() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:46:05

26 Views

The IntlChar::charDigitValue() function checks if the entered value is a decimal digit value or not.Syntaxint IntlChar::charDigitValue(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::charDigitValue() function returns TRUE if the entered value is a decimal digit.ExampleThe following is an example −OutputThe following is the output −NULL int(1) NULL NULL

IntlChar::isWhitespace() function in PHP

Samual Sam
Updated on 30-Dec-2019 08:43:35

23 Views

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

IntlChar::isUAlphabetic() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:42:55

22 Views

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

IntlChar::charMirror() function in PHP

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 Bidi_Mirrored property.ExampleThe following is an example −OutputThe following is the output −string(1) "K" string(1) "*" string(1) "{" string(1) "]" string(1) ")"

IntlChar::isIDStart() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:39:21

20 Views

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

IntlChar::isJavaIDPart() function in PHP

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

IntlChar::totitle() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:31:50

34 Views

The IntlChar::totitle() function is used to check whether the entered value is a Unicode character titlecase or not.SyntaxIntlChar::totitle(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::to title() function returns the simple_Titlecase_Mapping of the code point, if any; otherwise the code point itself.ExampleThe following is an example:OutputThe following is the output −string(1) " " NULL NULL string(1) "K"

IntlChar::forDigit() function in PHP

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 −int(55) int(53) int(48)

IntlChar::chr() function in PHP

karthikeya Boyini
Updated on 30-Dec-2019 08:29:27

38 Views

The IntlChar::chr() function is used to check whether the entered character is Unicode value or notSyntaxIntlChar::chr( val )Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::chr() function returns TRUE if the val is a Unicode character.ExampleThe following is an example −OutputThe following is the output −string(1) "A" NULL string(1) "^"

Advertisements