摘要: 第一步、插入代码<%function cLeft(str,n)dim str1,str2,alln,Isleftedstr2 = ""alln = 0str1 = strIslefted = falseif isnull(str) thencleft = ""exit functionend iffor i = 1 to len(str1)nowstr = mid(str1,i,1)if asc(nowstr)<0 thenalln = alln + 2elsealln = alln + 1end ifif (alln<=n) then 阅读全文
posted @ 2013-05-25 21:37 记忆斑驳的时光 阅读(277) 评论(0) 推荐(0) 编辑