Hi,
You have to find the first and the second "---".
First match position:
STRSTRC($tmp$, "---")
String after first:
SUBSTRC($tmp$, STRSTRC($tmp$, "---") + 3)
Position in String after first:
STRSTRC(SUBSTRC($tmp$, STRSTRC($tmp$, "---") + 3), "---")
So here we go:
SUBSTRC(SUBSTRC($tmp$, STRSTRC($tmp$, "---") + 3), 0, STRSTRC(SUBSTRC($tmp$,
STRSTRC($tmp$, "---") + 3), "---"))
I think ;-)
Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)
Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13)
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs
Find these products, and many free tools and utilities, at http://rrr.se
November 11, 2016 4:40 PM, "Su Kaur" <[email protected]> wrote:
> Can I find a substring between two --- because character length can vary for
> each segment between
> the dashes ?
>
> Thanks!
> Kaur
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"