add top quatation mark in a string, in mql4
add top quatation mark in a string, in mql4
Loading saved threads...
Yılmaz Kahya · External communityPost link
External question — Stack Overflow Stack Exchange
Author: Yılmaz Kahya
Original post: https://stackoverflow.com/questions/70760049
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
in mql4,
string list[]= {"EUR","CHF","GBP","JPY","AUD","CAD","NZD","CHF"};
for(int i=0; i<ArraySize(list); i++) string primer=list[i];
{
for(i=0; i<ArraySize(list); i++)
{
string second =list[i];
string currency = StringConcatenate(primer, second);
}
}
currency output is CHFCHF. how can i fix it to change "CHFCHF" instead of CHFCHF ?
i don't add top quotation mark in mql4. Thank you.
Quote
Report
Yılmaz Kahya · External communityPost link
External answer — Stack Overflow Stack Exchange
Author: Yılmaz Kahya
Original post: https://stackoverflow.com/a/70762547
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
if it is
string currency = StringConcatenate(primer, second);
output is CHFCHF.
if
string currency = StringConcatenate("\"",primer, second,"\"");
output is "CHFCHF" and that is main point to send order later.
thank you everybody
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: Yılmaz Kahya Source score (net votes, not local likes): -2 Original post: https://stackoverflow.com/questions/70760049 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. in mql4, string list[]= {"EUR","CHF","GBP","JPY","AUD","CAD","NZD","CHF"}; for(int i=0; i<ArraySize(list); i++) string primer=list[i]; { for(i=0; i<ArraySize(list); i++) { string second =list[i]; string currency = StringConcatenate(primer, second); } } currency output is CHFCHF. how can i fix it to change "CHFCHF" instead of CHFCHF ? i don't add top quotation mark in mql4. Thank you.
Checking account access…