function checkstringlength(txt)
txt=trim(txt)
x = len(txt)
y = 0
for ii = 1 to x
if asc(mid(txt,ii,1)) < 0 or asc(mid(txt,ii,1)) >255 then
' 如果是中文.
y = y + 2
else
y = y + 1
end if
next
checkstringlength = y
end function
如对本文有疑问, 点击进行留言回复!!
解决使用commit提交大文件无法推送到远程库问题及git rebase使用详解
一不小心git rebase后出现(master|REBASE 1/10)的问题及解决办法
Git撤销&回滚操作(git reset 和 get revert)
网友评论