UCase Function

๋ฌธ์ž์—ด์˜ ์†Œ๋ฌธ์ž๋ฅผ ๋Œ€๋ฌธ์ž๋กœ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ  ํ•ญ๋ชฉ: LCase ํ•จ์ˆ˜

Syntax:

UCase (Text As String)

Return value:

String

Parameters:

Text: ๋ณ€ํ™˜ํ•  ์ž„์˜์˜ ๋ฌธ์ž์—ด ์‹์ž…๋‹ˆ๋‹ค.

Error codes:

5 ์ž˜๋ชป๋œ ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ์ž…๋‹ˆ๋‹ค.

Example:


Sub ExampleLUCase
Dim sVar As String
    sVar = "Las Vegas"
    Print LCase(sVar) ' "las vegas"
    Print UCase(sVar) ' "LAS VEGAS"
End Sub

Please support us!