First, I'm aware that the function of split is to divide a string into an array of strings by the specified delimiter.
The ASP has this split, which is defined as the Dim split (ByVal Source As String, ByVal str As String) as String ()source string,
The method of using split to implement array operation under ASP
An example of Split function in ASP
Have you ever encountered the need to take a string of some values and not to start? Do you feel that reading or teaching material is confused with
How to use split to perform Array Operations under ASP
Example of the split function in ASP
Have you ever thought of getting some values in a string without starting? Are you confused about how to write split in a book or textbook ...... If you have
First, I know the role of the Split function is to Split a string into a String Array Based on the specified delimiter.
This Split is defined in ASP as dim Split (byval source as string, byval str as string) as string ()
Source is the source string,
function you have encountered to want to take a string of certain values and not to start? Do you feel that reading or teaching material is confused with the writing of split ... If you have this question, please see below my explanation to the
Function
Have you ever encountered the need to take a string of some values and not to start? Do you feel that reading or teaching material is confused with the writing of split ... If you have this question, please see below my explanation to the
Q: Why is the RecordCount value of my Recordset always returning-1?A: You should use this mode to open the recordset that accesses the database:
Rec.open strsql,conn,1,1
The strSQL is the SQL statement that operates the database; conn is the
Have you ever encountered the need to take some of the values in a string and not know what to do? There is no feeling that reading or teaching materials to split the writing confused ... If you have this question, please see below my explanation to
function you have encountered to want to take a string of certain values and not to start? Do you feel that reading or teaching material is confused with the writing of split ... If you have this question, please see below my explanation to the
The use of the Split function in ASPSplit intercept stringJust look at a few examples to understand.
Copy Code code as follows:
Mystr= "1,2,3,4,5"
Mystr=split (MyStr, ",")
For i=0 to UBound (MYSTR)
Response.Write MyStr (i)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.