Error String inject 0

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

Error String inject 0

Post by mfauzim » Tue Nov 27, 2007 10:19 am

My output file as below:

"121304145377"/"Testing Message"
"03524561776710"/"Testing Message"
"05954228743090"/"Testing Message"
"01562477890430"/"Testing Message"
"06821107338350"/"Testing Message"

The issue is that when running my script on second or greater loop, script introduce 0 before and after the number . Affecting second line onward.

My sript is shown below:

gosub>ReadTelCsv
Let>k=2
Repeat>k
Let>CurrentLine=Lines_%k%
Separate>CurrentLine,comma,fields
StringReplace>CurrentLine,", ,fields_1

// error occur next line line when iterate on second time onward
StringReplace>fields_1, ,,fields_1

//gosub>ReloadScreen
//GoSub>SearchAction
//Gosub>GetReloadResult

Let>cMessage=Testing Message
Gosub>SaveResult
Let>k=k+1
Until>k>Lines_Count


Is this a bug and how to go about the bug.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts