|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
Windows本身的所有问题都会一成不变的也累加到了它的身上。安全性、稳定性、跨平台性都会因为与NT的捆绑而显现出来;函数Len()
FUNCTION:前往字符串的长度.
SYNTAX:Len(string|varName)
ARGUMENTS:
EXAMPLE:<%
strTest="Thisisatest!"
response.writeLen(strTest)
%>
RESULT:15
LTrim()
FUNCTION:往失落字符串右边的空格.
SYNTAX:LTrim(string)
ARGUMENTS:
EXAMPLE:<%
strTest="Thisisatest!"
response.writeLTrim(strTest)
%>
RESULT:Thisisatest!
Mid()
FUNCTION:前往特定长度的字符串(从start入手下手,长度为length).
SYNTAX:Mid(string,start[,length])
ARGUMENTS:
EXAMPLE:<%
strTest="Thisisatest!TodayisMonday."
response.writeMid(strTest,17,5)
%>
RESULT:Today
Minute()
FUNCTION:前往工夫的分钏.
SYNTAX:Minute(time)
ARGUMENTS:
EXAMPLE:<%=Minute(#12:45:32PM#)%>
RESULT:45
Month()
FUNCTION:前往日期.
SYNTAX:Month(date)
ARGUMENTS:dateisanyvaliddateexpression.
EXAMPLE:<%=Month(#08/04/99#)%>
RESULT:8
MonthName()
FUNCTION:Returnsastringidentifyingthespecifiedmonth.
SYNTAX:MonthName(month,[,Abb])
ARGUMENTS:monthisthenumericrepresentationforagivenmonth;Abb
(optional)isabooleanvalueusedtodisplaymonthabbreviation.True
willdisplaytheabbreviatedmonthnameandFalse(default)willnotshow
theabbreviation.
EXAMPLE:<%=MonthName(Month(#08/04/99#))%>
RESULT:August
Now()
FUNCTION:Returnsthecurrentsystemdateandtime.
SYNTAX:Now()
ARGUMENTS:None
EXAMPLE:<%=Now%>
RESULT:8/4/999:30:16AM
Replace()
FUNCTION:Returnsastringinwhichaspecifiedsub-stringhasbeen
replacedwithanothersubstringaspecifiednumberoftimes.
SYNTAX:Replace(strToBeSearched,strSearchFor,strReplaceWith[,start
][,count][,compare]]])
ARGUMENTS:strToBeSearchedisastringexpressioncontainingasub-
stringtobereplaced;strSearchForisthestringexpressiontosearchfor
withinstrToBeSearched;strReplaceWithisthestringexpressiontoreplace
sub-stringstrSearchFor;start(optional)isthenumericcharacter
positiontobeginsearch;count(optional)isavalueindicatingthe
comparisionconstant.
EXAMPLE:<%
strTest="Thisisanapple!"
response.writeReplace(strTest,"apple","orange")
%>
RESULT:Thisisanorange!
专业性的服务。有的ASP商提供垂直型的应用服务,针对某一特定行业提供应用服务。 |
|