Kevin Remer
New member
Is there a way to do string manipulation (indexOf, subStr, etc.) when using <xen:set>?
For example:
Then check $test_content to see if there is an IMG tag present, and if so, get the index of that tag.
Then do the same for the /IMG tag.
Then do a substr using the location of those two tags to get the value that is between the tags.
For example:
<xen:set var="$test_content">{xen:raw $firstPost.message}' /></xen:set>
Then check $test_content to see if there is an IMG tag present, and if so, get the index of that tag.
Then do the same for the /IMG tag.
Then do a substr using the location of those two tags to get the value that is between the tags.
Last edited: