Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   character escape code question (http://www.programmingforums.org/showthread.php?t=10433)

angry_asian Jun 19th, 2006 7:16 PM

character escape code question
 
i used the /t for indent like so
System.out.println("/ttext"); and it displayed literally the /ttext instead of an indented text. my book says thats how to do it...im thinkin maybe quotes outside of /t....i dont really know for sure.

Jimbo Jun 19th, 2006 7:18 PM

Try \t.

angry_asian Jun 19th, 2006 7:28 PM

lol...WOW i am really stupid
ALTHOUGH THE BOOK SAID /t so i guess its not too bad a mistake
thank you jimbo


All times are GMT -5. The time now is 8:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC