1,产生一个数组
Myarry[1]="How are you doing today?"
print Myarry
2,如果要截取其中的子串,需要用到substr()
Mysub=substr(myarry[1],startpos,maxlen)
#startpos,起始字符位置;
#maxlen,抽取字符最大长度。
3,匹配字符串,需要用到match()
#返回匹配的起始位置,如果没有找到匹配,返回0;
1,产生一个数组
Myarry[1]="How are you doing today?"
print Myarry
2,如果要截取其中的子串,需要用到substr()
Mysub=substr(myarry[1],startpos,maxlen)
#startpos,起始字符位置;
#maxlen,抽取字符最大长度。
3,匹配字符串,需要用到match()
#返回匹配的起始位置,如果没有找到匹配,返回0;