Yikes!!! Java suxs big time in string handling – If I have to remove whitespaces from between a string(Buffer) I have to write my own method

Duh!

You can leave a response, or trackback from your own site.

6 Responses to “”

  1. itsjoy says:

    lol, my java prof would have handed you your head on a platter for a statement like that if we all lived in his dream world! And he would’ve made you read about trim() as your last act :) )

    naah, hes not that bad

    just curious though, which languages have a function to do what you want it to?

    • tariquesani says:

      He He He!! may be you deserve your prof ;)

      I have been relearning Java since past 15 days but I know trim() will only remove whitespaces from begining and end of the string. I want to remove all whitespaces from *between* a string

      In PHP I can do a replace with a null value and get what I want

Leave a Reply

Subscribe to RSS Feed Follow me on Twitter!