MelissaFreel
2 years agoQrew Member
Jinja Templates to isolate a token
Hi:
I am trying to build webhook pipline where I need to supply a token that is returned from the request. The token is embedded in a long text string separated with delimiters. When I go to use this token, I am able to use a split jinja template to get at the "front" part of the token.
{{b.content.split(':"')[1]}}
However, there is another irrelevant text string after the token separated with a ',' Can somone suggest how I nest my jinja templates to do this and do I do another "split" or???
Please and thank you!
Melissa
------------------------------
Melissa Freel
------------------------------