Simple method to replace multiple occurrences from the string.
Method Has 3 input InputString, Delim and ReplaceWith.
It will replace all the Delim available in the InputString with ReplaceWith text
Added flag for full replacement is server action as well and updated the demo.