案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<script type="text/javascript">
5
6
var str="Hello world!"
7
8
document.write(str.substring(3,7))
9
10
</script>
11
12
</body>
13
</html>
14