Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    I tested by replacing some item in the string with that line and with the escaped quotations and it prints as expected.
    This is what I got
    Java Code:
    DecimalFormat numberformat = new DecimalFormat("$ ##,###.00");

  2. #22
    javauserjava is offline Member
    Join Date
    Mar 2011
    Posts
    27
    Rep Power
    0

    Default

    I do not get you question exactly but if you mean there is anything else to do with the replace statement I would say no there is nothing else. if you are asking about the problem if it is solved or not I would say not yet..

  3. #23
    javauserjava is offline Member
    Join Date
    Mar 2011
    Posts
    27
    Rep Power
    0

    Default

    You are right sir, I am printing it in some where else,,

    I am so sorrrry for that it is my bad,,

    Thank you everyone and I hope I did not make you busy,,

  4. #24
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Please mark your thread solved with the thread tools at the top if you are done.

  5. #25
    santeron is offline Member
    Join Date
    Apr 2011
    Location
    Athens, Greece
    Posts
    52
    Rep Power
    0

    Default

    Quote Originally Posted by Junky View Post
    [blush]

    I just realised I am to blame as I showed you how to chain 2 replace methods together in another thread. But if you are doing this many calls to replace then I strongly urge using the StringBuilder class instead.
    Hahaha he maybe even put your name in the ty note now :P

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Println VS system.out.println
    By ccie007 in forum New To Java
    Replies: 2
    Last Post: 05-20-2010, 09:52 AM
  2. Need help with println
    By jhetfield18 in forum New To Java
    Replies: 8
    Last Post: 09-18-2009, 09:26 AM
  3. println doesn't print from inside for loop, et.al.
    By rdtindsm in forum New To Java
    Replies: 5
    Last Post: 03-27-2009, 02:19 PM
  4. difference between system.out.println() & out.println()
    By wickedrahul9 in forum Advanced Java
    Replies: 5
    Last Post: 10-19-2008, 12:06 AM
  5. System.out.println
    By sunjavaboy in forum Advanced Java
    Replies: 3
    Last Post: 03-22-2008, 02:30 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
  •