Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"\t"

 
diaa baraka
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how many spaces does "\t" make?

 
Richard Tookey
Bartender
Pie
Posts: 1166
17
Java Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic