website/content/blog/2017-08-28-escape-sequences-java.md

1.1 KiB

id title date author aliases permalink medium_post mf2_syndicate-to mf2_cite tags
2236 Escape Sequences in Java 2017-08-28T17:12:00+00:00 Brandon Rozek
/2017/08/escape-sequences-java/
/2017/08/escape-sequences-java/
O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}
a:1:{i:0;s:4:"none";}
a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}
Java

Sometimes you want to format your outputs. This is a quick cheatsheet containing the differerent escape sequences

Character Escape Sequence
Newline \n
Tab \t
Backspace \b
Double Quote ”
Single Quote ’
Backslash \