' In order to support the original, please keep the comment, thank you!
' Author: Fly on the grass
' Get the primary domain
Function getdomainurl (URL)
Tempurl=replace (URL, "http://", "")
If InStr (Tempurl, "/") >0 Then
Tempurl=left (Tempurl,instr (
'*************************************
' Detect if it contains only English and digital
'*************************************
Function IsValidValue (Arrayn, STR)
IsValidValue = False
Dim Gname
For each gname in Arrayn
If Str = Gname
function "" "" "" "" "" "" "" "" "" ""
' Judge if E_Mail input is correct '
''''''''''''''''''''''''''''''''
Function Isvalide_mail (E_Mail)
' To determine if there is an @ symbol in the E_Mail address, if there is no @ symbol or the @ symbol at the
Function used to determine whether the email address is correct
Function isvalidemail (email)
Dim names, name, I, C
Isvalidemail = true
Names = Split (email ,"@")
If ubound (names) <> 1 then
Isvalidemail = false
Exit Function
End if
For
Study the encoding and find out the relationship between gb2312 encoding and location code.
Program .
Search, it seems that no one writes, so it is sent here.
Original starter:
Http://bbs.blueidea.com
Http://mytju.com/classcode/
Any reprint and use.
Original article link
Reference
Http://baobaoyangzhou.blog.163.com/blog/static/117831250201241232756488/
Http://wenku.baidu.com/view/5e5438186bd97f192279e964.html
Index
GPROF usage
Usage notes
Additional reading
The main differences between the Exit function and the return function are:
Exit is used to end the program at any time while the program is running, and its parameters are returned to the OS. You can also say this: The Exit function exits the
function isvalidemail (email) dim names, name, I, C isvalidemail = true names = Split (email, "@") If ubound (names) <> 1 then isvalidemail = false exit function end if for each name in names If Len (name) isvalidemail = false exit
process termination can be divided into normal process termination and process exception termination.
The normal termination of a process is as follows:
The main function returns
Call the Exit function
Call the _exit or
use JS to judge
Copy Code code as follows:
function Is_email (str) {
p =/^ ([\w\.-]+) @ ([a-za-z0-9-]+) (\.[ A-za-z\.] +)$/;
if (Str.search (p) = =-1) {
return false;
}else{
return true;
}
}
using PHP to Judge
This post will collect and solicit the most comprehensive ASP programming applications in general function function, everyone for me, I for everyone:As long as everyone gave one or two of their own collection has been a long time, the general
Study the code, learned that the GB2312 code and location code, after the attempt to get this program.
Search, no one seems to write, so hair here.
Original starter:
Http://bbs.blueidea.com
http://mytju.com/classcode/
Arbitrarily reproduced,
1. break
The use of a break statement is mainly a switch statement and a looping structure. Use the break statement in a loop structure, and if you execute a break statement, exit the loop, and then execute the first statement under the loop
function function IsValidEmail (email)
Dim names, Name, I, C
' Check for valid syntax in ' to email address.
IsValidEmail = True
names = Split (email, "@")
If UBound (names) <> 1 Then
IsValidEmail = False
Exit function
End If
For each name in
Online ASP Advanced article online Management Update--article forwarding email
Author: Beach Boy
This is one of the main features of this program. In ASP, you can make use of NT SMTP to send Mail Online, but you must confirm that your system has
Design
What is a shopping cart?
You must have been to the supermarket. There you can push the cart, put the favorite items into the cart, or take the goods out of the cart and put them back on the shelves, and then you push the cart to
How to find enhancements in SAPMethod one, using Tcode to find reinforcement (second generation enhancement)Execute a program (attached to the source code), enter the program you need to enhance the tcode at the selection screen, and after execution,
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.