• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trimming Strings  RSS feed

 
Durga Kannan
Greenhorn
Posts: 22
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Good morning. I need to trim the space from both sides of the string.If i give input like this "| Durga |" ,the output should come like "|Durga|" . Now my doubt is, should i need to store the inputs in buffer before processing it? If so please assist me what are all the ways for it? Please help me. Thanks so much.
 
Campbell Ritchie
Marshal
Posts: 56546
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don#x2019;t post new questions on an old thread. You appear to have done that twice.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!