No you can't if you would have looked into your reference under StringSplit you would have seen the definition:
int StringSplit( const string string_value, // A string to search in const ushort separator, // A separator using which substrings will be searched string & result[] // An array passed by reference to get the found substrings );
and StringSplit(..) expects only a one dimensional string array result[].
Then you can copy element by element..
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
does somebody know, if is there a possibility to use a two-dimensional array in the StringSplit function. If I use it like bellow, than I get always an error: ']' - expression expected, 'TradeValues' - array required
I want to write the split strings in the second dimension of the array TradeValues[][]
or
Thank you very much!