Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check for alphanumeric characters

def isalphanumeric(char):
	return(ord('A') <= ord(char) <= ord('Z') or
           ord('a') <= ord(char) <= ord('z') or
           ord('0') <= ord(char) <= ord('9'))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #check #alphanumeric #characters
ADD COMMENT
Topic
Name
7+5 =