There are 12 escape sequences you can use in double-quoted strings:
- \ - Represents the back slash character.
- " - Represents the double quote character.
- $ - Represents the dollar sign.
- n - Represents the new line character (ASCII code 10).
- r - Represents the carriage return character (ASCII code 13).
- t - Represents the tab character (ASCII code 9).
- { - Represents the open brace character.
- } - Represents the close brace character.
- [ - Represents the open bracket character.
- ] - Represents the close bracket character.
- nnn - Represents a character as an octal value.
- xnn - Represents a character as a hex value.
No comments:
Post a Comment
If you are really interested about our blogger, Please Share your opinion here ...
If you Found Any Interviews in your reliable sources, Please Post the information through this Comment and It will be Published in our blogger. help every one to get a Job.