UCase Function

แƒกแƒขแƒ แƒ˜แƒœแƒ’แƒจแƒ˜ แƒ’แƒแƒ“แƒแƒงแƒแƒ•แƒก แƒžแƒแƒขแƒแƒ แƒ แƒแƒกแƒ-แƒœแƒ˜แƒจแƒœแƒ”แƒ‘แƒ˜ แƒ“แƒ˜แƒ“แƒจแƒ˜.

แƒแƒ’แƒ แƒ”แƒ—แƒ•แƒ” แƒœแƒแƒฎแƒ”แƒ—: LCase แƒคแƒฃแƒœแƒฅแƒชแƒ˜แƒ

Syntax:

UCase (Text As String)

Return value:

String

Parameters:

แƒขแƒ”แƒฅแƒกแƒขแƒ˜: แƒ—แƒฅแƒ•แƒ”แƒœแƒ—แƒ•แƒ˜แƒก แƒ แƒ”แƒ“แƒแƒฅแƒขแƒ˜แƒ แƒ”แƒ‘แƒ˜แƒกแƒ—แƒ•แƒ˜แƒก แƒกแƒแƒกแƒฃแƒ แƒ•แƒ”แƒšแƒ˜ แƒœแƒ”แƒ‘แƒ˜แƒกแƒ›แƒ˜แƒ”แƒ แƒ˜ แƒขแƒ”แƒฅแƒกแƒขแƒฃแƒ แƒ˜ แƒ’แƒแƒ›แƒแƒกแƒแƒฎแƒฃแƒšแƒ”แƒ‘แƒ.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

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!