Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Miva - Get Part of String After Occurrence of Another String
<mvt:assign name="g.string" value="'something.com/goes-here.html'" />
<mvt:assign name="g.split" value="'.com'" />
<mvt:assign name="g.after_index" value="(g.split CIN g.string) + len(g.split)" />
<mvt:assign name="g.after" value="substring( g.string, g.after_index , len(g.string) )" />
&mvte:global:after;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment