Hi,
I just want to replace the space in string with a character "-". Here is my macro in Text/XML transformation
{% DocumentName.ToLower()|(regexreplace)\s(with)- %}
This will not replace space with a character.
Am I doing wrong? Any idea why it is not working.
Hi, I would try something like this:
{%DocumentName.ToLower().Replace(" ","-")|(identity)GlobalAdministrator%}
Thanks much! it works
Please, sign in to be able to submit a new answer.