> VB语言在线手册 > 替换字符串中的某些字符
<!DOCTYPE HTML>
<html>
<body>

<script type="text/vbscript">
sometext="Welcome to this Web!!"
document.write(Replace(sometext, "Web", "Page"))
</script>

</body>
</html>