What language are you using?
Rob Richardson wrote:
Greetings!
I am using a serial communications package that includes a readline()
method to talk to a bar-code scanner. Readline() gives me a string
whose last character is a newline ('\n'). I am trying to get rid of the
newline. MyString.strip('\n') isn't working. It has no effect. How
should I do this?
Thanks very much!
Rob Richardson
RAD-CON INC.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------