View Single Post
  #3 (permalink)  
Old August 18th, 2006, 02:33 AM
peterasimpson peterasimpson is offline
Authorized User
Join Date: Nov 2005
Location: , , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks for the answer, that was really helpful and I learnt something.

The problem with this routine is that it relies on the VBCRLF(carriage return). What I'm after is a way to get a line and only that line if there are no VBCRLF(carriage return). For example if I were to copy an article from google news into a text box it does not realise that there is more that 1 line. only 'MsgBox GetLine(Text1.Text) 'To Retrieve the First Line' works even thought the Text1.Text might have 20 lines in it.

Thank you

Reply With Quote