Results 1 to 3 of 3
  1. #1
    lannie1980 is offline Member
    Join Date
    Mar 2012
    Posts
    88
    Rep Power
    0

    Default What does sb.append("\t"); when using stringbuilder do/mean?

    Hi folks,

    Just what the thread header says basically - can anyone tell me what sb.append("\t"); does? Specifically the ("\t"); part?

    Regards

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    5

    Default Re: What does sb.append("\t"); when using stringbuilder do/mean?

    Primitive Data Types (The Java™ Tutorials > Learning the Java Language > Language Basics)
    The Java programming language also supports a few special escape sequences for char and String literals: \b (backspace), \t (tab), \n (line feed), \f (form feed), \r (carriage return), \" (double quote), \' (single quote), and \\ (backslash).

  3. #3
    lannie1980 is offline Member
    Join Date
    Mar 2012
    Posts
    88
    Rep Power
    0

    Default Re: What does sb.append("\t"); when using stringbuilder do/mean?

    doh,

    nice one mate, thanks alot ;)

Similar Threads

  1. Replies: 5
    Last Post: 04-29-2012, 07:18 AM
  2. Replies: 1
    Last Post: 02-01-2012, 08:37 PM
  3. Why is there an error message of the "append" ?
    By mathidioticz in forum New To Java
    Replies: 4
    Last Post: 01-22-2012, 05:22 PM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •