Aug 24

Check for Upper and Lower Case Function (chkUprAndLwrCase)

This function will check a string to make sure it contains both upper and lower case characters.

function chkUprAndLwrCase(inString)
	if lcase(inString) <> inString and ucase(inString) <> inString then
		chkUprAndLwrCase = TRUE
		chkUprAndLwrCase = FALSE
	end if
end function

Permanent link to this article:

Leave a Reply

Your email address will not be published.