Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


JoeMcPhail
2015-06-01T15:15:50Z
Hello,

I am trying to remove header/rows in a text files after merging many files into one that have a header row?

I first created a Read File task. I use this global varable as input to a write file task. in the value area i use the following:

{STRING(Remove,{TASK(5e3f24ca-275b-44d8-92d4-f1e6d4588218,StdOut)},varMySearchString,)}

My intent is to remove the string contained in the variable varMySearchString, but the function returns:

, err: Conversion from string "MySearchString" to type 'Integer' is not valid.]"

Where can i fund the function definitions that will tell me the parameters of the string functions such as string.remove or string.replace?
Thank you
Sponsor
Forum information
thomas
2015-06-01T15:36:01Z
You will find the definitions under Variables (in the menu), under functions. The remove function wants an integer that ask for the position it should start to remove at. You may want to look at the Replace function maybe


thomas
Users browsing this topic
Scroll to Top