渚嬪锛屽亣璁炬湁浠ヤ笅閫楀彿鍒嗛殧鐨勫唴瀹癸細鍖椾含,涓婃捣,骞垮窞,閲嶅簡銆傛垜浠彲浠ョ洿鎺ヤ娇鐢╯plit鍑芥暟鏉ヨ幏鍙栨瘡涓唴瀹癸細
```
diqu = split('鍖椾含,涓婃捣,骞垮窞,閲嶅簡',',')
Response.Write(diqu(0)) ' 杈撳嚭鍖椾含
Response.Write(diqu(1)) ' 杈撳嚭涓婃捣
Response.Write(diqu(2)) ' 杈撳嚭骞垮窞
Response.Write(diqu(3)) ' 杈撳嚭閲嶅簡
```
濡傛灉鎯宠鐭ラ亾鎬诲叡鏈夊灏戜釜瀛楁鏁帮紝鎴栬呰幏鍙栨煇涓叿浣撶殑鍐呭锛屽彲浠ヤ娇鐢║Bound鍑芥暟鏉ヨ幏鍙栧瓧娈垫暟锛
```
diqu = split('鍖椾含,涓婃捣,骞垮窞,閲嶅簡',',')
shu = UBound(diqu) + 1 ' 杈撳嚭鎬诲瓧娈垫暟4
sz1 = diqu(0) ' 杈撳嚭鍖椾含
sz2 = diqu(1) ' 杈撳嚭涓婃捣
sz3 = diqu(2) ' 杈撳嚭骞垮窞
sz4 = diqu(3) ' 杈撳嚭閲嶅簡
```
鍏朵腑锛屾暟瀛椾唬琛ㄥ湪鍒嗛殧鍚庣殑鍐呭涓墍鍗犵殑浣嶇疆鏁帮紝浠庡乏鍒板彸渚濇涓0銆1銆2銆3銆
闇瑕佹敞鎰忕殑鏄紝鍒嗛殧绗︿笉涓瀹氭槸閫楀彿锛屼篃鍙互鏄叾浠栫鍙凤紝姣斿鏂滄潬'/'銆佺珫绾'|'绛夈傚彧闇灏唖plit鍑芥暟涓殑閫楀彿鎹㈡垚鍏朵粬鍒嗛殧绗﹀嵆鍙備緥濡傦細
```
diqu = split('鍖椾含|涓婃捣|骞垮窞|閲嶅簡','|')
Response.Write(diqu(0)) ' 杈撳嚭鍖椾含
Response.Write(diqu(1)) ' 杈撳嚭涓婃捣
Response.Write(diqu(2)) ' 杈撳嚭骞垮窞
Response.Write(diqu(3)) ' 杈撳嚭閲嶅簡
```
甯屾湜浠ヤ笂鍐呭瀵规偍鏈夋墍甯姪銆
浠ヤ笂灏辨槸asp鐢╯plit鍑芥暟鑾峰彇閫楀彿鍒嗛殧鐨勬瘡涓唴瀹瑰拰鏁板肩殑璇︾粏鍐呭锛屾洿澶氫俊鎭鍏虫敞OD浜戝叾瀹冪浉鍏虫枃绔狅紒