Fungsi VBScript LCase


Referensi VBScript Lengkap

Fungsi LCase mengubah string tertentu menjadi huruf kecil.

Tip: Lihat juga fungsi UCase.

Sintaksis

LCase(string)

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

Contoh

Contoh 1

<%

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

%>

Output dari kode di atas akan menjadi:

this is a beautiful day!

Contoh 2

<%

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

%>

Output dari kode di atas akan menjadi:

this is a beautiful day!

Referensi VBScript Lengkap