
Documentation on MQL5: String Functions / StringSplit
- www.mql5.com
StringSplit - String Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Ha-yun: given that this would be done on every iteration?
-
Why every iteration? What is changing?
Don't worry about performance, until you have a problem. Then, and only then, use the profiler, find the problem, fix the problem, and remeasure.
-
With a single character separator: StringSplit.
Otherwise: How to split a string with another string - general - MQL5 programming forum #3 (2020)

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
Example string: abc;def;ghi
Imagine a function that runs 1000 times, what would be the most efficient way to split this string and get its values, given that this would be done on every iteration?