ronmwhiteNew Contributor II6 years agoSolvedReplace All Case Insensitive Based on Incoming Value Hello. I am having some issues getting “replace” to work the way I want; kindly have a look. This works: $Name.replace(/ron/gi, “Ronald”) So does this: $Name.replace($OldName, $NewName) But...Show Moredel6 years agoThere may be a better option, but eval will probably work: eval("$Name.replace(/" + $OldName + "/gi,$NewName)")
del6 years agoThere may be a better option, but eval will probably work: eval("$Name.replace(/" + $OldName + "/gi,$NewName)")
del6 years agoThere may be a better option, but eval will probably work: eval("$Name.replace(/" + $OldName + "/gi,$NewName)")
Recent DiscussionsWay to lock down in Prod org to "Monitor" only access?trace API and proxy callsPagination Logic Fails After Migrating from REST GET to HTTP Client SnapSolvedPipeline Execute Pool sizeSolvedConcat values of a field based on value of another fieldSolved