One Star VSD
One Star

Difference between EReplace and CHANGE in talend String Handling

Hi All,
Can anybody explain what is exact difference between EReplace and CHANGE routines under String Handling ?
I'm little confuse while using it.
StringHandling.CHANGE("Hello ABC","Hello","bye") => bye ABC
StringHandling.EREPLACE("Hello ABC","Hello","bye") => bye ABC
Any help....?
Regards,
Vishal
2 REPLIES
Moderator

Re: Difference between EReplace and CHANGE in talend String Handling

Hi,
There is no difference between EReplace and CHANGE in talend String Handling. We think it is a duplicated issue. Our colleagues from test team have reported a bug for it https://jira.talendforge.org/browse/TDI-24223.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Difference between EReplace and CHANGE in talend String Handling

StringHandling.EREPLACE(row1.CODE_ENREGISTREMENT,"21","Présentation");
StringHandling.EREPLACE(row1.CODE_ENREGISTREMENT,"22","Rejet") 
any help please this code replace only when "21"  but not for "22" ...