ASP函数大全

发布时间:2020-01-12 发布网站:大佬教程
大佬教程收集整理的这篇文章主要介绍了ASP函数大全大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

<table bordercolor="#ccccff" cellspacing="4" width="550" align="center" border="0">
<tr>
<td width="15%" bgcolor="#ccffff">
<div align="center"><font size="2"><a class="menu2" href="#Array"><font color="#800080">Array()


</td>
<td width="16%" bgcolor="#ffccff">
<div align="center"><font size="2"><a class="menu2" href="#CInt"><font color="#800080">CInt()

</td>
<td width="17%" bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#CStr">CStr()

</td>
<td width="17%" bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Date()">Date()

</td>
<td width="18%" bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#DateAdd()">DateAdd()

</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Day()">Day()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#FormatCurrency()">FormatCurrency()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#FormatDateTime()">FormatDateTime()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#FormatNumber()">FormatNumber()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#FormatPercent()">FormatPercent()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Instr()">Instr()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#InstrRev()">InstrRev()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Int()">Int()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsArray()">IsArray()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsDate()">IsDate()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsNull()">IsNull()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsNumeric()">IsNumeric()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsObject()">IsObject()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#LBound()">LBound()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#LCase()">LCase()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Len()">Len()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#LTrim()">LTrim()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Mid()">Mid()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Minute()">Minute()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Month()">Month()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Now()">Now()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Right()">Right()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Rnd()">Rnd()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Round()">Round()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Rtrim()">Rtrim()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Second()">Second()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#StrReverse()">StrReverse()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Time()">Time()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Trim()">Trim()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#UBound()">UBound()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#VarType()">VarType()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#WeekDay()">WeekDay()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#WeekDayName()">WeekDayName()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Year()">Year()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#MonthName()">MonthName()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#DateDiff()">DateDiff()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Hour()">Hour()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#IsEmpty()">IsEmpty()
</td>
<td bgcolor="#ffccff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Left()">Left()
</td>
<td bgcolor="#ccffff">
<div align="center"><font color="#800080" size="2"><a class="menu2" href="#Split()">Split()
</td>
</tr>
<tr>
<td bgcolor="#ccffff">
<div class="menu2" align="center">

 
Array()

表达式 Array(list)
允许数据类型: 字符,数字均可

Dim myArray()
For i = 1 to 7
Redim Preserve myArray(i)
myArray(i) = WeekdayName(i)
Next
%>

CInt()

表达式 CInt(expression)
允许数据类型: 任何有效的字符均可
实例:
<%
f = "234"
response.write cINT(f) + 2
%>
返回结果: 236
转化字符"234"为数字"234",如果字符串为空,则返回0值
CreateObject()
函数建立和返回一个已注册的ACTIVEX组件的实例。
表达式 CreateObject(objName)
允许数据类型: objName 是任何一个有效、已注册的ACTIVEX组件的名字.


CStr()

Date()

DateAdd()

timeinterval is the time interval to add;
number is amount of time intervals to add;
and date is the starting date.


DateDiff()

Day()

FormatCurrency()

FormatDateTime()

FormatNumber()

FormatPercent()

Hour()

Instr()

InstrRev()

Int()

IsArray()

IsDate()

IsEmpty()

IsNull()

IsNumeric()

IsObject()

LBound()

LCase()

Left()

Len()

LTrim()

Mid()

Minute()

Month()

MonthName()

Now()

Right()

Rnd()

Round()

Rtrim()

Split()

Second()

StrReverse()

Time()

Trim()

UBound()

.

UCase()

VarType()

WeekDay()

WeekDayName()

Year()

大佬总结

以上是大佬教程为你收集整理的ASP函数大全全部内容,希望文章能够帮你解决ASP函数大全所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ群:277859234,请注明来意。