Class StringExtension
Extension methods for strings
Inheritance
System.Object
StringExtension
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
public static class StringExtension
Methods
ReplaceIgnoreCase(String, String, String)
This replicates the functionality of case-insensitive functionality built into Replace in .Net Core.
Declaration
public static string ReplaceIgnoreCase(this string toSearch, string find, string replace)
Parameters
Type | Name | Description |
---|---|---|
System.String | toSearch | |
System.String | find | |
System.String | replace |
Returns
Type | Description |
---|---|
System.String | The string with replaced values |