article ".Change the form1 caption attribute to "socksrv" and add the Winsock control that just added the project to the form.Add three label and textbox controls, one command control, and set their attributes and functions as follows:Label1.caption = "listening port:", label2. caption = "customer message:", label3. caption = "Server Message :"
Textbox1.text = "900", which is used to set the server listening port of WinSock.
Textbox2.text = "", textbox2. mu
reference, or an octal escape character. For example, 'n' matches the character "n ". '\ N' matches a line break. The sequence '\' matches "" and "\ (" matches "(".
^ Matches the start position of the input string. If the Multilin attribute of the Rgxp object is set, ^ matches the position after '\ n' or' \ R.
$ Matches the end position of the input string. If the Multilin attribute of the Rgxp object is s
following table is a complete list of metacharacters and its behavior in the context of regular expressions:
Character description
\ marks the next character as a special character, or a literal character, or a back reference, or a octal escape character. For example, ' n ' matches the character ' n '. ' \ n ' matches a newline character. The sequence ' \ \ ' matches ' and ' \ ("matches" ().
^ matches the start position of the input string. If the Multil
This is actually what I found from the hard disk. It's old '''
In C #, when we input data in the text box (textbox), we can wrap the line (multiline text box), or enter a space in the multilin text box. However, when we read the data in the text box, we can use a space to display the data in another text box or directly use response. when the Write statement is displayed, we cannot display the line breaks and spaces as expected. The line breaks and
itREGEXP: A plain text expression that indicates that a matching pattern is performed in a different locale, using regular expressions to implement various processing of textEplace (original character, new character);Match ()--the result of matching is stored in an arraySearch ()--Get a matching subscript to determine if there are sensitive charactersMatch mode: G--global GlobalM--multilin Multiple linesI--ignorance ignoring casePractical application
Contact Us
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.