Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 09:13

  • Please register to post and access all features, it's quick, easy and FREE!


[Share] Character Escape Sequences

Old   #1
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
[Share] Character Escape Sequences


Some characters aren't printable, but you still need to use them in strings. Therefore, C# has a special syntax where characters can be escaped to represent non-printable characters. For example, it is common to use newlines in text, which is represented by the '\n' char. The backslash, '\', represents the escape. When preceded by the escape character, the 'n' is no longer interpreted as an alphabetical character, but now represents a newline.

[B]Escape Sequence  	           Meaning[/B]
\'  	                         Single Quote
\"  	                         Double Quote
\\  	                         Backslash
\0  	                         Null, not the same as the C# null value
\a  	                         Bell
\b  	                         Backspace
\f  	                         form Feed
\n  	                         Newline
\r  	                         Carriage Return
\t  	                         Horizontal Tab
\v  	                         Vertical Tab
Note : I didn't post this up here for the people that just care about having 2nd reborn and lucky time in there source.

Zion~ is offline  
2 Users
Old   #2
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
This is pretty useful,

P.S I like the Rastafarian style.

Glad I helped.

Singah is offline  
1 User
Old   #3
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
Yeah bless man,
most of these sequences can be used when coding NPCs.
Zion~ is offline  

« Previous Thread | Next Thread »

Similar Threads
Better way to escape GMs?
I just had a thought, how about we editing GM detect to using return scroll instead of dcing you/teleing you to a new place. Since dcing you and...
14 Replies - Dekaron
Also, da es hier noch nicht erwähnt wurde werd ichs ma erwähnen ^^ Nyx ( ownerb**** ) von Escape scheint einen Weg gefunden zu haben...
5 Replies - Lineage 2

All times are GMT +2. The time now is 09:13.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.