\t

one noob question:how do I tab strings with \t...what do I import, what do I need to declare?I completely forgot
[133 byte] By [Lucas207a] at [2007-11-27 4:50:00]
# 1
What? If you want a tab, just use \t, as you already seem to know.String stringWithTabs = "word\tword_after_tab\tword_after_second_tab";What's the problem you're having exactly?
paulcwa at 2007-7-12 10:03:12 > top of Java-index,Java Essentials,New To Java...
# 2
Err.. what do you mean? You don't have to do anything in a string except type \t..."There is a tab between here\tand here."Otherwise the question doesn't make sense.
bsampieria at 2007-7-12 10:03:12 > top of Java-index,Java Essentials,New To Java...
# 3
well, just adding \t doesnt do anything...
Lucas207a at 2007-7-12 10:03:12 > top of Java-index,Java Essentials,New To Java...
# 4
How are you displaying your output?
_helloWorld_a at 2007-7-12 10:03:12 > top of Java-index,Java Essentials,New To Java...
# 5
> well, just adding \t doesnt do anything...Your are making an assumption that is incorrect and thus no one can help you because we don't know what that is.You need to explain your actual problem so someone can fill in the missing information for you.
jschella at 2007-7-12 10:03:12 > top of Java-index,Java Essentials,New To Java...