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


Messages In This Thread
List of string blackslash characters - by uber1337 - 11-28-2009, 12:47 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)