香港元朗区房价:在VB中怎样把文本框的字符串用数组表示出来
来源:百度文库 编辑:神马品牌网 时间:2024/10/04 21:59:48
比如,我输入一串字符,不区分大小写统计个字母出现的次数。
这个代码要怎样写呀。
哪位知道,麻烦解答一下,谢谢。
这个代码要怎样写呀。
哪位知道,麻烦解答一下,谢谢。
for i=1 to Len(str)
if a=mid(str,i,1) then n=n+1
next
明白?
for i=1 to Len(str)
if a=mid(str,i,1) then n=n+1
next
明白?