Removing special characters from a variable

{{ProductVersionList}}

ProductVersionList variable = “IC3 GS5~tIC3 GS5~tIC3 GS5” in my data file. I am trying to remove the “~t” and replace with several spaces to create white space. Each of the IC3 GS5 needs to print in different spots on the form.

Any suggestions would be appreciated. Thanks

In the Datamapper, you could add this to your Post Function for that field:

replace(/(~t)/g,‘<as many spaces as you want>’);

When adding spaces in HTML, you need either to use &nbsp; (non-breakable space) or add the css white-space: pre; to the object you display that variable in. If not, multiple spaces will be shrunk to a single one.

This is my very first time using the software, where do I access the Datamapper?

Do you have a Datamapping file already created for your data?

Basic steps - OL Connect 2025.1 Help–This is an informative starting point for the DataMapper basics.