VBScript UCase 함수


❮ 완전한 VBScript 참조

UCase 함수는 지정된 문자열을 대문자로 변환합니다.

팁: LCase 함수도 살펴보세요.

통사론

UCase(string)

Parameter Description
string Required. The string to be converted to uppercase

실시예 1

<%

txt="This is a beautiful day!"
response.write(UCase(txt))

%>

위 코드의 출력은 다음과 같습니다.

THIS IS A BEAUTIFUL DAY!

실시예 2

<%

txt="This is a BEAUTIFUL day!"
response.write(UCase(txt))

%>

위 코드의 출력은 다음과 같습니다.

THIS IS A BEAUTIFUL DAY!

❮ 완전한 VBScript 참조