c# replace string case insensitive
class Program
{
static void Main()
{
string input = "hello WoRlD";
string result =
Regex.Replace(input, "world", "csharp", RegexOptions.IgnoreCase);
Console.WriteLine(result); // prints "hello csharp"
}
}
Also in C#:
- what data type should be for contact number in asp.net
- unity get number of child objects
- Add component object to gameobject unity
- iterate through dictionary c#
- c# remove from list in foreach
- reverse string c#
- eager loading vs lazy loading c#
- c# code to convert decimal to binary
- how to display an image url in c# picturebox
- odbc command parameters c#
- c# select case
- get what week of the month c#
- asp net identity add a unique fields to user
- copy a list C#
- unity position ui element
- visual studio c# mark class deprecated
- verifyusertokenasync password reset token
- convert double to currency c#
- open zip file in c#
- c# warning CS0108
- how to reference scripts in other scenes unity
- c# bitmap to Image
- c# string array to string
- how to randomly rotate rigidbody of object in unity