|
ASP
String
More detial or script code example
request to get left side of string :: count by setting number
Description: Form:: Left(Txt,n)
calling left side of string and returning characters from string::
request 7 characters from "welcome learning" as the string
(one Chinese character = 2 English characters)

ASP
String
More detial or script code example
request to get right side of string :: count by setting number
Description: calling begin from the right side of
string and returning characters from
string:: request 8 characters from "welcome learning"
as the string (one Chinese character space= 2 English characters)

ASP
String
More detial or script code example
String text length (counting characters include space)
Description: Len(X): to count the total length of a string X
example: often be used at submit required
a length of characters limitation
usage: often combines with Trim(X), Right(X,n), Left(X,n), Min(X,m,n)
--------------------------------
do not use length(________)
do not use len("_______")

ASP
String
More detial or script code example
Mid(string,start[,length])
Description: Form:: Mid(string,start[,length])
Mid(Txt,n)
Mid(Txt,n,m)
Txt is string
n is starting place
m is length .... is not necessary : no length = to the end

ASP
String
More detial or script code example
split long strings by any " string "
Description: strArray = Split(Longstr, "str")

ASP
String
More detial or script code example
Replace
Description:

ASP
String
More detial or script code example
ASP : Trim( string )
Description: To delete two spaces at the beginning and the end.
######
but trim may not prevent chr(255) 
asc: "Alt+255"

ASP
String
More detial or script code example
like '%xampl%' to search for a pattern
Description: like '%_____%'

|