#include <MsgBoxConstants.au3> Local $aDays = StringSplit("Mon,Tues,Wed,Thur,Fri,Sat,Sun", ",") ;用逗号作为分隔符,分割字符串,返回分割后的元素的数组
For $i = To $aDays[] ;循环变量i的初始值为1,数组元素起始位置为0
MsgBox($MB_SYSTEMMODAL, "",$aDays[$i]) ;信息框输出每一个元素
Next ;循环结束 MsgBox($MB_SYSTEMMODAL, "","haha") ;信息框输出字符串 haha