Replace string  [SOLVED]

Questions about MultiCharts and user contributed studies.
tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

Replace string

Postby tradingest » 26 Feb 2017

Hi all,

how I can make to replace "continuous Contract" with ""?

Code: Select all

plot9(description, "Description");
replace.png
(8.69 KiB) Downloaded 434 times
Thanks

User avatar
rrams
Posts: 128
Joined: 10 Feb 2011
Location: USA
Has thanked: 7 times
Been thanked: 70 times
Contact:

Re: Replace string

Postby rrams » 26 Feb 2017

Code: Select all

plot9(Text(LeftStr(description, InStr(description, "Continuous Contract")-1), RightStr(description, 7)), "Description");

tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

Re: Replace string  [SOLVED]

Postby tradingest » 26 Feb 2017

thanks


Return to “MultiCharts”