delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

But i am not able to caputre the 'enter' and so i get one long line of string. I am using stringbuffer to do this!
please help.


hello..i want a user to type a para and input that into my java program. But i am not able to caputre the 'enter' and so i get one long line of string. I am using stringbuffer to do this!
please help.

TOP

Are they entering the text in a textarea?  If they are, the lines will be terminated with "\n".

TOP

NO THEY ARE NOT....they are simply typing it a shell..and pressing enter..and thsi text is taken in by the java program and stored in a StringBuffer.

TOP

Ok.  Look for "\n" or "\r\n" depending on what platform you're running on.



But i am not able to caputre the 'enter' and so i get one long line of string. I am using stringbuffer to do this!
please help.

TOP

Back Forum