Simple VBS script

Dibatalkan Dipasang Apr 13, 2010 Dibayar saat pengiriman
Dibatalkan Dibayar saat pengiriman

I am reading a file into a string with the following code:

Set objFile = [login to view URL](source, ForReading)

Do Until [login to view URL]

strLine = [login to view URL]

strReplacer = Chr(34) & "," & Chr(34)

strLine = Replace(strLine, strReplacer, "")

strLine = Replace(strLine, chr(34), "")

strNewText = strNewText & strLine & vbCrLF

Loop

[login to view URL]

I need to add code that will take the first item in the file, and pad it so it is 10 characters.

Sample:

"5","test file","from a csv data file"

Should be:

5 test filefrom a csv data file

(sorry, extra spaces are stripped out when posting the project. But there should be 9 spaces after the number 5)

Most of the code is there to do this - I just need the code to find the first item in quotes, pad it to 10 chars, then process the string and strip out the quotes and commas.

Must be done today.

Thanks

Visual Basic

ID Proyek: #659480

Tentang proyek

7 proposal Proyek online Aktif Apr 13, 2010

7 freelancer rata-rata menawar $32 untuk pekerjaan ini

svet63

Let's do it now. Regards, Svet.

$30 USD dalam 0 hari
(45 Ulasan)
6.1
netcoder

Hi, I think I can do it:-)! Best regards, netcoder:-)

$44 USD dalam 4 hari
(54 Ulasan)
5.5
vbexcel

Please check PMB for details

$30 USD dalam 0 hari
(13 Ulasan)
4.8
soniyaprakash

Will be provided in 10 mins.

$30 USD dalam 0 hari
(3 Ulasan)
4.6
ShohagIFAS

sir plz check pm !

$30 USD dalam 0 hari
(14 Ulasan)
4.1
elawson

Please check PM for solution.

$30 USD dalam 1 hari
(2 Ulasan)
3.2
LionTheKing

It can be done in 2 hours. Contact me.

$30 USD dalam 1 hari
(0 Ulasan)
0.0