Replace character at aparticular index of a string

HI
i want to replace character at a particular index.I guess snaplogic is not allowing Str.replaceAt() function.Is there any other way to achieve this

@ash42

Please find the attached sample pipeline:

str_replace_2022_02_06.slp (6.1 KB)

I am converting the string to array, and use the splice method in order to replace some particular character by index.

This is one of the solutions, and for sure there are another ways for accomplishing this, but I hope this helps.

Regards,
Spiro Taleski

3 Likes