Is there a way to insert a vbCrLf and a hyphen in a text file using VBScript?
The text file is formatted as the following:
SampleData: Data
SampleData2: Data2
MoreSampelData::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd=
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
I need the data to look like the following:
SampleData: Data
SampleData2: Data2
MoreSampelData::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd=
-
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
-
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
-
I need the hyphen and blank line after the data that is formatted with the space before the characters.
Is this possible? Thank you in advance for your time.
The text file is formatted as the following:
SampleData: Data
SampleData2: Data2
MoreSampelData::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd=
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
I need the data to look like the following:
SampleData: Data
SampleData2: Data2
MoreSampelData::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd=
-
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
-
MoreSampelData2::
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
qwerrttyuiopassddffgjdjdjdjshjfjkhdhfjd
dddd==
-
I need the hyphen and blank line after the data that is formatted with the space before the characters.
Is this possible? Thank you in advance for your time.