Quote Originally Posted by jmcilhinney
This will remove all carriage return and line feed characters from the end of your string:
VB Code:
  1. myString = myString.TrimEnd(Convert.ToChar(Keys.Return), Convert.ToChar(Keys.LineFeed))
this works perfectly, thanks a lot mate

ps I cant +++++rep you again yet so I will when I can