Você está na página 1de 1

Methods Functions

ASP / VBScript
Request String
BinaryRead FormatCurrency
InStr
Response LCase
AddHeader Left
AppendToLog Len
BinaryWrite REGULAR EXPRESSIONS - PATTERNS FUNCTION ARGUMENT ORDERS Mid
Clear Replace
End ^ Start of string DateAdd(Interval, Number, Date) Response.write
Flush $ End of string DateDiff(Interval, Date1, Date2) Right
Redirect String
. Any single character InStr(Start, String, Substring, Compare)
Write StrReverse
(a|b) a or b FormatDateTime (Date, DateFormat) Trim
Application REGULAR
(...) EXPRESSIONS
Group section- MODIFIERS Join(Array, Delimiter) UCase
Lock [abc] Item in range (a or b or c) Left(String, Length)
Unlock /g Global matching Date
[^abc] Not in range (not a or b or c) Replace(Haystack, Needle, Replacement)
/i Case insensitive Date
Session [a-z] Any lower-case letter Split(Expression, Delimiter) DateAdd
/s Single line mode
Abandon [A-Z] Any upper-case letter DatePart
/m Multi line mode DateSerial
[0-9] Any numeric digit FILE MODES
Server Day
a? Zero or one of a
CreateObject FormatDateTime
Execute a* Zero or more of a 1 Reading Hour
GetLastError a+ One or more of a 2 Writing Minute
HTMLEncode a{3} Exactly 3 of a 3 Appending Month
MapPath MonthName
a{3,} 3 or more of a
Transfer Now
URLEncode a{3,6} Between 3 and 6 of a COMMON LCID CODES Second
!(pattern) "Not" prefix. Apply rule when Weekday
Properties URL does not match pattern. 2057 English (UK) WeekdayName
1033 English (US) Year
\b End of word
Response 1036 French (France)
\n New line Arrays
Buffer
\r Carriage return 1031 German (Germany) Join
CacheControl
Charset \ Escape Character 1034 Spanish (Spain) Redim
ContentType Split
\t Tab
Expires Ubound
\s White space STRING CONSTANTS
ExpiresAbsolute
IsClientConnected \w Any word (= [A-Za-z0-9_]) Mathematical
Pics VbCr Carriage Return Abs
Status VbCrLf VbCr and Line Feed Atn
DATE FUNCTION ARGUMENTS Cos
VbFormFeed Form Feed
Request Exp
yyyy Year VbLf Line Feed Log
TotalBytes
q Quarter VbNullChar Null Character Rnd (Randomize)
Session m Month VbNullString Null String Round
CodePage y Day of Year Sin
VbTab Tab Character
LCID Sqr
d Day Sgn
SessionID
Timeout w Weekday COMPARISON CONSTANTS Tan
ww Week of Year
Server h Hour 0 VBBinaryCompare Collections
ScriptTimeout n Minute 1 VBTextCompare
Response
Error s Second 2 VBDataBaseCompare Cookies
ASPCode
ASPDescription REDIRECT WITH 301 HEADER NAMED DATE CONSTANTS Request
Category ClientCertificate
Column Cookies
Response.Status="301 Moved 0 vbGeneralDate
Description Form
File Permanently" 1 vbLongDate QueryString
Line Response.AddHeader "Location", 2 vbShortDate ServerVariables
Number "http://www.website.com" 3 vbLongTime
Source Application
Response.End 4 vbShortTime Contents
StaticObjects
INCLUDING A FILE
Available free from Session
www.ILoveJackDaniels.com Contents
<!--#include file="include.inc"-->
StaticObjects

Você também pode gostar