foundeo / cfdocs

Repository for the cfdocs.org site.

Home Page:https://cfdocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replaceNoCase

cffoundry opened this issue · comments

The description fails to identify the "substring2" or "replacement" (whichever you prefer to call it) argument, yet it is shown in the examples. Adobe has the same error on their website, but likewise has examples with the replacement argument being used.

Looks fine to me, I don't see an issue. The way it's written, it has both string and substring1 as arguments, where substring1 is the one that's replacing string.

replaceNoCase(string, substring1, callback [, scope]) → returns string

string.replaceNoCase(substring1, callback[, scope])