Latest web development tutorials

função VBScript LCase

VBScript Referência Completa VBScript Referência

função LCase converte a seqüência de caracteres especificada em minúsculas.

Dica: Veja a função UCase.

gramática

LCase(string)

参数 描述
string 必需。需要被转换为小写的字符串。

Exemplos

exemplo 1

<script type="text/vbscript">

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

</script>

Exemplos de saída acima:

this is a beautiful day!

tente »

exemplo 2

<script type="text/vbscript">

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

</script>

Exemplos de saída acima:

this is a beautiful day!

tente »

VBScript Referência Completa VBScript Referência