凯驰家用吸尘器:在VB中怎样把文本框的字符串用数组表示出来
来源:百度文库 编辑:高考问答 时间:2024/05/10 09:19:04
比如,我输入一串字符,不区分大小写统计个字母出现的次数。
这个代码要怎样写呀。
哪位知道,麻烦解答一下,谢谢。
这个代码要怎样写呀。
哪位知道,麻烦解答一下,谢谢。
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
明白?