ASP - 대소문자 체크

우대희·2020년 7월 30일
0

ASP

목록 보기
5/5

'L이면 소문자 U면 대문자
'asp 에서 instr은 대소문자를 구별

Function checkCase(tmp)
	tmpl=LCase(tmp)
	tmpu=UCase(tmp)
	If InStr(1, tmp, tmp1)>0 Then '소문자
		tmpc="L"
	ElseIf InStr(1, tmp, tmpu)>0 Then '대문자
		tmpc="U"
	End If
	checkCase=tmpc
End function
profile
ToTb 웹컨설턴트

0개의 댓글