Replacing words.

0
Hai, I want to replace **********@****.qas   with   **********@***.com. How can I do that? Can someone help me in this.
asked
2 answers
1

Try something like replaceAll

replaceAll($yourString, '.qas$', '.com')

It will replace .qas if it occurs at the end of the string with .com.

answered
6

Hi Mahendra,

You can use replace all function.

Check this document for your referance.
https://docs.mendix.com/refguide/string-function-calls/#13-replaceall
eg:

  replaceAll($string , '.qas', '.com')

Yes, you can replace the content with Batch replace.
 
Check this document for Batch replace.

 https://docs.mendix.com/refguide/batch-replace/

answered