Page 1 of 1

is there a CSV Function? or a list of string functions

Posted: 06 Jul 2011
by arjfca
Hello

I'm reading and capturing a string from a text file.
ex: DataReady,EUR.USD,Buy Stop,37000,1.4367,Stop Loss, 1.4345

Now, I want to place all the appropriates value to a is corresponding variables

Code: Select all

Dataready (False), // String is valid, go on
Market (""), // Market name
OrdertoExecute (""), // Buy Stop, Sell Stop, Buy Market, Sell market etc
QTY (0), // QTY
OrderPrice (0), // Entry price for the order
StopLoss (0); // Exit Price for the order
I do have the Instr instruction that I could use, but I don't found a function to read x characters from the characters position value in the string determined by Instr.

Martin

Re: is there a CSV Function? or a list of string functions

Posted: 06 Jul 2011
by TJ
look up MidStr

Re: is there a CSV Function? or a list of string functions

Posted: 06 Jul 2011
by TJ
press [F1] gives you the complete list

Image