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
Hi,
I trade on some contract I have to renew each month or each 2 months, the contract prefix is the same, only the suffix changes - here's the template : <Name><Month : Dec/Nov/Mar etc ..><year : 14, 15 etc ...>
Here's what I get, I want to remove the Jan15, but I can only isolate the J from "Jan15" PLUS the Symbol name doesn't show as it is in the market watch :/ (NGasJan15) but the good length ^_^'
I'm wondering why ... in the documentation, there's a third param to this func, here's what it's said about :
length=-1 [in] Length of an extracted substring. If the parameter value is equal to -1 or parameter isn't set, the substring will be extracted from the indicated position till the string end.
Any help ?