> VB语言在线手册 > 从一段字符串的左侧或右侧返回指定数目的字符
<!DOCTYPE HTML>
<html>
<body>

<script type="text/vbscript">
sometext="Welcome to our Web Site!!"
document.write(Left(sometext,5))
document.write("<br>")
document.write(Right(sometext,5))
</script>

</body>
</html>