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

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

博客园 - ShineWayCN

System Rebuild Linux commands Linux 知识点滴 我的常规系统安装 SSI@IIS 将 ASPX 页面编译成 DLL 分页组件 PHP5+MSSQL web.config 文档框架 网址收集 .NET中的中文简繁体转换 @OutputCache指令参数 如何提高.NET循环的效率 .NET中的MD5加密 Global.asax 文档框架 标准代码页列表 @Page指令参数 ASP.NET中调用自定义DLL C# 编译器命令行实例 ASCII 字符集
VBScript 函数
ShineWayCN · 2005-06-23 · via 博客园 - ShineWayCN
Abs(number)
功能:返回数字的绝对值。
参数:number(任意有效的数值表达式)。
Array(objectlist)
功能:返回包含赋值元素列表的数组对象。
参数:objectlist(已赋值对象列表)。
Asc(string)
功能:返回 string 中第一个英文字母对应的 ANSI 字符代码值。
参数:string(有效的字符串)。
Atn(number)
功能:返回数字的反正切值。
参数:number(任意有效的数值表达式)。
Asc(string)
功能:返回 string 中第一个英文字母的 ANSI 字符代码值。
参数:string(有效的字符串)。
CBool | CByte | CCur | CDate | CDbl | CInt | CLng | CSng | CStr(expression)
功能:返回转换成相应对象类型(布尔值 | 字节 | 货币 | 日期 | 双精度浮点数 | 整数 | 长整数 | 单精度浮点数 | 字符串)的expression表达式结果。
参数:expression(有效的表达式)。
Chr(int)
功能:返回与int对应的ANSI字符。
参数:int(范围为0到255的正整数)。
Cos(number)
功能:返回数字的余弦值。
参数:number(任意有效的数值表达式)。
CreateObject(servername.typename[, location])
功能:创建并返回对Automation对象的引用。
参数:servername(提供对象的应用程序名称)。
参数:typename(要创建的对象类型或类)。
参数:location(可选。对象所在的网络服务器域名或DNS)。
Date
功能:返回系统当前时间。
DateAdd(interval, number, date)
功能:返回已添加指定时间间隔的日期。
参数:interval(时间间隔,有效值为yyyy|q|m|y|d|w|ww|h|n|s
参数:number(要添加的时间间隔个数。)
参数:date(有效的日期表达式。)
DateDiff(interval, date1, date2[, firstdayofweek[, firstweekofyear]])
功能:返回两个日期之间的时间间隔。
参数:interval(时间间隔,有效值为yyyy|q|m|y|d|w|ww|h|n|s
参数:date1,date2(要进行比较的日期表达式)。
参数:number(要添加的时间间隔个数。)
参数:firstdayofweek(可选。指定一周中的第一天。有效值为vbUseSystem|vbUunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday0|1|2|3|4|5|6|7,默认为1)。
参数:firstweekofyear(可选。指定一年中的第一周。有效值为vbUseSystem|vbFirstJan1|vbFirstFourDays|vbFirstFullWeek0|1|2|3,默认为1)。
DatePart(interval, date[, firstdayofweek[, firstweekofyear]])
功能:返回日期表达式的指定部分。
参数:interval(时间间隔,有效值为yyyy|q|m|y|d|w|ww|h|n|s
参数:date(要计算的日期表达式)。
参数:firstdayofweek(可选。指定一周中的第一天。有效值为vbUseSystem|vbUunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday0|1|2|3|4|5|6|7,默认为1)。
参数:firstweekofyear(可选。指定一年中的第一周。有效值为vbUseSystem|vbFirstJan1|vbFirstFourDays|vbFirstFullWeek0|1|2|3,默认为1)。
DateSerial(year, month, day)
功能:返回指定了年,月,日的日期对象。
参数:year(年份,有效值为100到9999之间的正整数)。
参数:month(月份,有效值为1到12之间的正整数。)
参数:day(日期,有效值为1到31之间的正整数。)
DateValue(date)
功能:返回指定内容的日期对象。
参数:date(有效的用来表示日期的字符串表达式)。
Day(date)
功能:返回指定内容的日期对象。
参数:date(有效的用来表示日期的字符串表达式)。
[result=]Eval(expression)
功能:计算一个表达式的值并返回结果。
参数:result(可选。用于接受返回结果的变量。如果未指定结果,应考虑使用Execute语句来代替)。
参数:expression(有效的VBScript表达式字符串)。
Exp(number)
功能:返回e(自然对数的底)的幂次方。
参数:number(有效数值表达式)。
FormatCurrency|FormatNumber|FormatPercent(expression[, NumDigitsAfterDecimal[, IncludeLeadingDigit[, UseParensForNegativeNumbers[, GroupDigits]]]])
功能:返回格式化为货币值的表达式(使用控制面板中定义的货币符号)。
参数:expression(要被格式化的表达式)。
参数:NumDigitsAfterDecimal(可选。小数点右侧显示的位数。默认为-1)。
参数:IncludeLeadingDigit(可选。三态常数,指示是否显示小数值小数点前面的0。有效值为TristateTrue|TristateFalse|TristateUseDefault-1|0|-2,默认为-2)。
参数:UseParensForNegativeNumbers(可选。三态常数,指示是否将负值置于括号中。有效值为TristateTrue|TristateFalse|TristateUseDefault-1|0|-2,默认为-2)。
参数:GroupDigits(可选。三态常数,指示是否使用计算机区域设置中指定的数字分组符号将数字分组。有效值为TristateTrue|TristateFalse|TristateUseDefault-1|0|-2,默认为-2)。
FormatDateTime(date[, dateformat])
功能:返回按指定格式进行转换后的日期对象。
参数:date(目标日期对象)。
参数:dateformat(可选。转换格式,有效值为vbGeneralData|vbLongDate|vbShortDate|vbLongTime|vbShortTime 0|1|2|3|4,默认为0)。
GetLocale()
功能:返回当前区域设置ID值。
InStr([start, ]string1, string2[, compare])|InStrRev(string1, string2[, start[, compare]])
功能:InStr从string1的第一个字符开始搜索并返回string2在string1中第一次出现的位置。而InStrRev刚好相反,它从string1的最后一个字符开始并进行逆向搜索。
参数:start(可选。搜索的起始位置,在InStr中默认时从第一个字符开始,而在InStr中默认从最后一个字符开始。)。
参数:string1(被搜索的内容)。
参数:string2(要搜索的内容)。
参数:compare(可选。搜索方式,有效值为vbBinaryCompare|vbTextcompare0|1,默认为0)。
Left(string , length)
功能:返回字符串左侧指定数目的文字内容。
参数:string(字符串内容)。
参数:length(文字内容的数目)。