Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List of string blackslash characters
#1
Wasn't quite sure why I was seeing so many "/n"'s in programs so I looked it up and I found a list of all the backslash characters that can be used in strings and I thought I would share.


ESCAPE
MEANING
\newline
Ignored (continuation)
\\
Backslash (keeps a \)
\'
Single quote (keeps ')
\"
Double quote (keeps ")
\a
Bell
\b
Backspace
\f
Formfeed
\n
Newline (linefeed)
\r
Carriage return
\t
Horizontal tab
\v
Vertical tab
\N{id}
Unicode database ID
\uhhhh
Unicode 16-bit hex
\Uhhhh...
Unicode 32-bit hex
\xhh
Hex digits value
\ooo
Octal digits value
\0
Null (doesn’t end string)
\other
Not an escape (kept)
BlackhatBlackhatBlackhatBlackhat
[Image: izsyo6.jpg]


Reply
#2
Good find, I can't really find a practical use for a lot of them, but I'm sure I will. Big Grin
Reply
#3
They are called escaped characters, btw
[Image: nv70ad.png]
Terrorcore, unleash, extermination
Hyper real, cold blood, determination
fudge them, I like this sensation
Incredible, I from the annihilation
Reply
#4
Is it just me or are the two sides of that 'table' thingy not aligned
[Completely Honest. Seriously.]

Protip: Anonymous Reputation Points are for Pussies
Reply
#5
(12-03-2009, 03:48 AM)iintens Wrote: Is it just me or are the two sides of that 'table' thingy not aligned

It is, it seems like they aren't because of the space between them. Just highlight the text on one side and drag it to the other and sure enough it is aligned. I didn't know how I should format the "table" so i just aligned one side to the left.
[Image: izsyo6.jpg]


Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help finding a string in Python... TheLifelessOne 9 1,716 02-23-2010, 05:16 PM
Last Post: Nyx-

Forum Jump:


Users browsing this thread: 1 Guest(s)