惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
Cisco Talos Blog
Cisco Talos Blog
C
Check Point Blog
博客园_首页
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Martin Fowler
Martin Fowler
Recorded Future
Recorded Future
S
Security @ Cisco Blogs
L
LINUX DO - 最新话题
博客园 - 司徒正美
P
Privacy International News Feed
G
Google Developers Blog
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Scott Helme
Scott Helme
K
Kaspersky official blog
I
InfoQ
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Webroot Blog
Webroot Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
大猫的无限游戏
大猫的无限游戏
D
Docker
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Microsoft Azure Blog
Microsoft Azure Blog
Spread Privacy
Spread Privacy
量子位
H
Hacker News: Front Page
Simon Willison's Weblog
Simon Willison's Weblog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
SecWiki News
SecWiki News
S
Security Affairs
Latest news
Latest news
人人都是产品经理
人人都是产品经理
C
CERT Recently Published Vulnerability Notes
S
Security Archives - TechRepublic
V
Visual Studio Blog
T
Troy Hunt's Blog
S
Secure Thoughts
F
Fortinet All Blogs
V
V2EX
The Register - Security
The Register - Security
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

博客园 - 飞儿

要让IT收入比重越来越小 准备买房了? 想写一篇小说 如何做好测试建议清单 看新闻的时间用的太多了 robot经验整理及验证点的说明 robot取excel表格参数脚本 猪肉未来还是会涨的 回归IT 2008,又是新的一年 TD各版本的汉化插件下载 QTP基础代码(转) QTP参考代码框架 自动码流转换(ROBOT) 数据库连接(ROBOT) 行走在消逝中 写的痛快 常用ROBOT函数详解 沉下来,沉下来,别让自己太浮躁
大小写转换(ROBOT)
飞儿 · 2007-06-28 · via 博客园 - 飞儿

declare function size(aa as string) as string 
sub main
dim a,as_string as string
a=inputbox("please input first number")
as_string=size(a)
end sub

function size(a as string)
 
  dim a_a,size_na,size_length,A_string,size_test as string
  dim q,w,a_if,a_instr ,a_length as integer
  size_length=""
  a_length=len(a)
'根据长度折分
for q=1 to a_length

   a_a=mid(a,q,1)
  
   a_if=instr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",a_a)
   A_string="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  
   if(a_if>26) then
     size_na=a_a
   else
     size_na=mid(A_string,a_if,1)
    'msgbox size_na+"***"
   end if
    size_length=size_length+size_na
 next q

msgbox size_length


   'msgbox a_if
    'if(a_if>26 or a_if<1) then
    'a =inputbox("请重新输入")
   ' end if
 
 
   ' msgbox size_na
   
   'size_na=lof(a)

 'msgbox size_na

end function