// Retirer les espaces au début et à la fin
using System.Text.RegularExpressions;
Regex regex = new Regex(@"(^s+|s+$)");
regex.Replace(str, "");
Code Example |
---|
Csharp :: merge xml files into one c# |
Csharp :: html.beginform |
Csharp :: c# double to int |
:: |
:: c# string code ascii |
Csharp :: |
Csharp :: unity audio |
Csharp :: count number of properties on an object C# |
Csharp :: check if file exist c# |
Csharp :: C# how to use if and else |
Csharp :: |
Csharp :: generate qr code c# |
Csharp :: |
Csharp :: switch expression c# multiple cases |
Csharp :: dotnet automapper.extensions.microsoft.dependencyinjection |
Csharp :: lcm of numbers |
Csharp :: c# print decimal with zero at the end |
:: nunjucks index in loop |
Csharp :: c# bubble sort |
Csharp :: orElseThrow |
Csharp :: c# windows forms open directory in explorer |
Csharp :: check property type of collection c# |
Csharp :: c# how to check for internet connectivity |
Csharp :: c# mongodb get all documents |
Csharp :: rotate gameobject unity |
Csharp :: msbuild publish to folder command line .net |
Csharp :: How to type custom backcolor on c# winform |
:: decrease image size C# |
:: web page search c# |
:: c# yield keyword |