Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert 2 lines to one
#2
Well you could always press the backspace key...


Or, you can do something like this
[code2=vbnet]Public Function OneLine(ByVal toFix As String) As String
Dim returnString As String = ""
Dim lines() As String = toFix.Split(vbNewLine)
For Each line As String In lines
returnString = returnString & line
Next

Return returnString
End Function[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Convert 2 lines to one - by brco900033 - 02-21-2013, 11:59 AM
Re: Convert 2 lines to one - by brandonio21_phpbb3_import2 - 02-21-2013, 04:12 PM
Re: Convert 2 lines to one - by brco900033 - 02-23-2013, 11:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read certain lines brco900033 3 14,644 09-26-2012, 03:56 PM
Last Post: brandonio21
  Read and delete lines brco900033 6 22,594 09-16-2012, 09:38 AM
Last Post: brandonio21
  Search ListBox + Convert ListBox.item to string brco900033 3 14,591 09-13-2012, 03:03 PM
Last Post: brandonio21
  How to write string query on multiple lines kismetgerald 1 8,971 08-29-2012, 04:01 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)