[ad_1]
Maybe there’s a more engineered solution, but this should do the trick:
var result = "A Not B And Not C".Replace("Not", "And Not").Replace("And And Not", "And Not")
[ad_2]
solved Replace Not with And Not in string [closed]
[ad_1]
Maybe there’s a more engineered solution, but this should do the trick:
var result = "A Not B And Not C".Replace("Not", "And Not").Replace("And And Not", "And Not")
[ad_2]
solved Replace Not with And Not in string [closed]