ireplace(string,pattern,replace_string[,original_string])


Description

Similar to replace() but ignores the case of the letters.
Replaces the matched part of the string with the replace_string.
Last argument is logical value, if true the original string is returned if no match found and, if false, an empty string is returned if no match is found

Example

ireplace(itt,"rules","Expressions",true)
returns the ITT except for the Related Rules where "Related Expressions" is returned

ireplace(itt,"rules","Expressions",false)
returns a blank except for Related Rules where "Related Expressions" is returned.

Related Rules

replace()