File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes escape sequence for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "escape sequence for "@"" Watch "escape sequence for "@"" New topic

escape sequence for "@"

bab javier
Ranch Hand

Joined: Aug 12, 2003
Posts: 32
hi! what is the correct escape format for the character "@"? i've tried "\@" but it won't compile.
thanks guys!
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

The character @ doesn't need to be escaped. Just refer to it like any other character.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: escape sequence for "@"
It's not a secret anymore!