Aug 24

Print this Post

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: https://www.wperry.net/code/chkuprandlwrcase/

Leave a Reply

Your email address will not be published. Required fields are marked *