split的使用方法例: [html]<script> var s var ss="h1hah2"; s=ss.split("a"); alert(s.length); alert(s[1]); </script>[/html]