Page 1 of 1

Remove all salacious words

Posted: Fri Mar 04, 2016 2:52 am
by Gius
Hello, I have the same problem as noted here but still don't see the solution.

I have to replace in an input string ( for example ADDRESS ) all the salacious words with Empty string for example ADDRESS = "Street Ass" then my output should be ADDRESS = "Street"

If I use the ereplace function , I have to put all in uppercase to match "ASS" BUT I need to keep my original case.

Is there any function that is case insensitive?

Thank you -

Posted: Fri Mar 04, 2016 7:47 am
by chulett
Eight years later and not the same, similar perhaps but not the same. Let's get you in your own post and make sure I have your particulars correct... version 11x on Windows, Server job, yes?

How are you going to determine which of the words in your string are 'salacious' and thus need to be removed? Do you have a list that is driving this?

Posted: Fri Mar 04, 2016 9:44 am
by rkashyap
This post may interest you.

Posted: Fri Mar 04, 2016 3:12 pm
by ray.wurlod
ASS is not necessarily salacious, for example when it refers to a quadruped beast of burden.