SharePoint Designer does not support the replace function directly.
What would be a function or call Template for this? I want to replace "-Y" with "Yes" and "-N" with "NO" in a string. E.g.:
Sample-Y, Sample1-N
Result as:
Sample Yes Sample1 No