isUnsignedHex Function

public function isUnsignedHex(input)

Check if the input string is a valid unsigned hexadecimal integer string.

This function ignores leading and trailing whitespaces.

This function returns a logical value of .TRUE. if the input string is a valid unsigned hexadecimal integer string.

A logical value of .FALSE. will be returned where the input string is empty(only spaces), 0 length, or is not a valid unsigned hexadecimal integer string.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: input

A string.

Return Value logical