schir1964 Posted November 9, 2021 Report Share Posted November 9, 2021 Dan, the following seems to imply that it targets the entire output of the export. Is that correct? I was hoping to target just the output of a specific field but there's nothing to suggest I can do that. Quote Replacement Containers Occasionally, when creating a Hero Designer Export Format, you may find it useful to be able to replace one string of text in the output with another each time the first string occurs. You can do this by using the REPLACE container and its associated subcontainers. For example: <!--REPLACE--> <!--DEFSTRING-->abc<!--/DEFSTRING--> <!--REPSTRING-->xyz<!--/REPSTRING--> <!--/REPLACE--> replaces each occurrence of the string “abc” (as specified by the DEFSTRING subcontainer) with the string “xyz” (as specified by the REPSTRING subcontainer). Quote Link to comment Share on other sites More sharing options...
Simon Posted November 9, 2021 Report Share Posted November 9, 2021 Correct - the REPLACE and REG_REPLACE containers both act on the entirety of the output. They are processed after the output is generated, but before image data is swapped in. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.