Hello,
I have a flat file with tab-delimited format. I extracted this file from an application.
For some reason, the file contains some return characters at either the end of the line or within the line.
I want to replace the return characters with a semicolon (, a period (.) character or ther characters.
I have tried the following code, but it did not work. I think the regular expression method may work, but I don't know how to use the regular expression with such an instance.
I like to know how I can replace the return character with another character in the line using VBscript.
strLine = "The that contains the return characters"
strText = Replace(strLine,Chr(13),";")
Any help will be greatly appreciated.
CluM09
I have a flat file with tab-delimited format. I extracted this file from an application.
For some reason, the file contains some return characters at either the end of the line or within the line.
I want to replace the return characters with a semicolon (, a period (.) character or ther characters.
I have tried the following code, but it did not work. I think the regular expression method may work, but I don't know how to use the regular expression with such an instance.
I like to know how I can replace the return character with another character in the line using VBscript.
strLine = "The that contains the return characters"
strText = Replace(strLine,Chr(13),";")
Any help will be greatly appreciated.
CluM09