function to check if a string is a hexadecimal string
hexadecimal string
checking result
ishex("12ab") -> trueishex( "2ab") -> falseishex("12zz") -> false Copy
ishex("12ab") -> trueishex( "2ab") -> falseishex("12zz") -> false
function to check if a string is a hexadecimal string