Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

want to replace particular delimiter

I want to replace particular delimiter '#' with other i.e '~' from the field value. How can i do that ?

1 Solution

Accepted Solutions
jerifortune
Creator III
Creator III

Replace('EB1D7C5EBA6B4F91B146ACFE5621C98E###5EBA6B4F91B146ACFE5###Initiate_Construction###In Progress######12123123333###EB1D7C5EBA6BOrder1213323###0###EB1D7C5EBA6B4F91B146ACFE5621C98X###EB1D7C5EBA6B4F91B146ACFE5621C98Y###iFrameworkAgreement1012###','###','~')

View solution in original post

5 Replies
vishsaggi
Champion III
Champion III

may be try like,

Replace(Fieldname, '#', '~') AS NewReplacedField

Anonymous
Not applicable
Author

Can I replace all the occurrences at once with this function? or do I need to use replace as many times the delimiter occurs?

PFB the kind of data I have

EB1D7C5EBA6B4F91B146ACFE5621C98E###5EBA6B4F91B146ACFE5###Initiate_Construction###In Progress######12123123333###EB1D7C5EBA6BOrder1213323###0###EB1D7C5EBA6B4F91B146ACFE5621C98X###EB1D7C5EBA6B4F91B146ACFE5621C98Y###iFrameworkAgreement1012###

jerifortune
Creator III
Creator III

Replace('EB1D7C5EBA6B4F91B146ACFE5621C98E###5EBA6B4F91B146ACFE5###Initiate_Construction###In Progress######12123123333###EB1D7C5EBA6BOrder1213323###0###EB1D7C5EBA6B4F91B146ACFE5621C98X###EB1D7C5EBA6B4F91B146ACFE5621C98Y###iFrameworkAgreement1012###','###','~')

Anonymous
Not applicable
Author

Try

Replace("XYZ",'-','') as "XYZ",

Anonymous
Not applicable
Author

Yes it worked..thanks!