語法:LCase(string)
函數 | 字串 | 執行 | 函數寫法 | 結果 | 訊息 |
LCase | 1A2B2C!@# | LCase("1A2B2C!@#") | 1a1b3c!@# | ||
LCase |
<script language="vbscript">
<!--
sub run_LCase()
document.all("LCase2").innerHTML = "LCase(" & chr(34) & document.all("LCase1").value & chr(34) & ")"
document.all("LCase3").value = LCase(document.all("LCase1").value)
document.all("lblLCase").innerHTML = "已轉換!"
end sub
-->
</script>
<br />
<table>
<tbody>
<tr>
<td>函數</td><td>字串</td><td>執行</td><td>函數寫法</td><td>結果</td><td>訊息</td>
</tr>
<tr>
<td>LCase</td>
<td><input id="LCase1" name="LCase1" type="text" style="width:100px"/></td>
<td><input id="btnLCase" name="btnLCase" onclick="run_LCase()" type="button" value="Run" /></td>
<td><label id="LCase2" name="LCase2"></label></td>
<td><input id="LCase3" name="LCase3" type="text" style="width:100px" readonly/></td>
<td><label id="lblLCase" name="lblLCase"></label></td>
</tr>
</tbody>
</table>
沒有留言:
張貼留言