How do I insert the next line character into my txt-based file in Visual BAsic .NET
Here is how my code goes:
' Now, finaly lets add the actual link
FileOpen(1, LinkFileDir LinkFileName, OpenMode.Input)
' Put the contents of the file into our variable
LinkFileValue = InputString(1, LOF(1))
' Check to see where in the string we need to be.
LinkFilePos1 = InStr(1, LinkFileValue, "<tr style='mso-yfti-irow:40;mso-yfti-lastrow:yes'>")
' Manupulate the sting adding our new link
LinkFileValue = LinkFileValue.Insert(LinkFilePos1, " ")
Now this " " needs to be changed to a carriage return(Next Line, Enter Key, etc.) what would I put, I searched all of VB help and could find out how to do it.
(By the way in C it's "/n")