Openplant String.Replace Function

HI Bentley Guys,

If someone have string.replace function working example , please share.

I am trying as below it's not working.


Regards,
Vivek