ฟังก์ชัน LCase ของ VBScript

การระบุและการใช้งาน

ฟังก์ชัน LCase สามารถแปลงตัวอักษรในข้อความที่กำหนดเป็นตัวอักษรเล็ก

คำเตือน:ดูฟังก์ชัน UCase

ศัพท์

LCase(string)
ตัวแปร คำอธิบาย
string ข้อบังคับ ต้องเป็นตัวอักษรเล็กของตัวเลข

ตัวอย่าง

ตัวอย่าง 1

dim txt
txt="THIS IS A BEAUTIFUL DAY!"
document.write(LCase(txt))

การแสดงผล:

this is a beautiful day!

ตัวอย่าง 2

dim txt
txt="This Is a Beautiful Day!"
document.write(LCase(txt))

การแสดงผล:

this is a beautiful day!