EAPUtilReplaceCaseInsensitive Method (String, String, String, ReplaceOptions) |
A fast, case-insensitive string replacement function.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ReplaceCaseInsensitive(
string original,
string pattern,
string replacement,
ReplaceOptions opts
)
Public Shared Function ReplaceCaseInsensitive (
original As String,
pattern As String,
replacement As String,
opts As ReplaceOptions
) As String
Parameters
- original
- Type: SystemString
The string in which to make the replacement. - pattern
- Type: SystemString
The pattern to replace. - replacement
- Type: SystemString
The string with which to replace the pattern. - opts
- Type: NetQuarryReplaceOptions
Replacement options.
Return Value
Type:
StringThe original string with all instances of (case-insensitive) pattern replaced with replacement.
See Also