ReplaceNoCase

Replaces occurrences of substring1 with substring2, in the specified scope. The search is case-insensitive.

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

Returns: String

Argument Description Default
string
string, required

A string (or variable that contains one) within which to replace substring.

substring1
any, required

Substring for which to search. Optionally pass a Struct with key/value pairs to do a replace all

substring2
string, optional

Substring with which to replace the found matches. This arg is required if the substring1 arg is a string

scope
string, optional

scope for the execution:

  • one (default): Replace the first occurrence
  • all: Replace all occurrences

one

Examples

There are currently no examples for this function.

See also