Little help please.

 

Hi all

I'm struggling with all the string functions.


How to get the 3 first letters of the Symbol()

How to get the last 3.


Example... EA is runing on GBPNZD

string Currency_1 = GBP;
string Currency_2 = NZD;


Cheers

 
    string  Currency_1 =StringSubstr(Symbol(),0,3);
    string  Currency_2 =StringSubstr(Symbol(),3,3);
 
GumRai:


Perfect : )



Thank you.

Reason: