Inside Coldfusion MX

"-->

ReplaceNoCase (string, substring1, substring2 [, scope])

Description

A non-case-sensitive search that replaces occurrences of substring1 with substring2.

Example

<cfset exampleString = "This is a test of the emergency broadcasting system"> <cfset exampleString2 = "George George George of the Jungle"> <cfoutput> #Replace(exampleString, "Broadcasting", "ColdFusion")# #Replace(exampleString2, "george", "", all)# </cfoutput>

Категории