This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""\t"" Watch ""\t"" New topic
Author

"\t"

diaa baraka
Greenhorn

Joined: Dec 14, 2012
Posts: 12
how many spaces does "\t" make?

Richard Tookey
Bartender

Joined: Aug 27, 2012
Posts: 1166
    
  17

diaa baraka wrote:how many spaces does "\t" make?



Assuming that the output device uses it as a tab then at least 1 and up to the 'tab size' setting for the device. Typically this is between 1 and 8 but for most output devices that accept tabs it can be configured. The 'tab' adds spaces to take the output to the next tab boundary (multiple of the tab size).
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: "\t"
 
It's not a secret anymore!