Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# convertir caracter con tilde

public static class StringExtensions
{
    public static string SinTildes(this string texto) =>
        new String(
            texto.Normalize(NormalizationForm.FormD)
            .Where(c => CharUnicodeInfo.GetUnicodeCategory(c) != UnicodeCategory.NonSpacingMark)
            .ToArray()
        )
        .Normalize(NormalizationForm.FormC);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# sharepoint get users from column 
Csharp :: kendo validator tries to validate hidden fields 
Csharp :: C# Blocks with statements 
Csharp :: c#l list<string initialize 
Csharp :: Match one of 1, 2, x or X, or nothing 
Csharp :: get after point in c# 
Csharp :: c# list any retun indec 
Csharp :: csharp 3d array length 
Csharp :: how to find the text position in excel in c# 
Csharp :: what is float in c# 
Csharp :: unity DOScale 
Csharp :: top down view player movement 
Csharp :: interop C# save as and replace 
Csharp :: spiral matrix 
Csharp :: how to fade c# form 
Csharp :: windows forms webbrowser refresh 
Csharp :: C# http post request with file 
Csharp :: c# get file author 
Csharp :: wpf StrokeDashArray 
Csharp :: last index for array c# 
Csharp :: BulkWrite c# example mongodb 
Csharp :: HtmlToPdfConverter 
Csharp :: .net core get runtime version 
Csharp :: c# move directory 
Csharp :: long string c# 
Csharp :: create enum from int c# 
Csharp :: c# yield return ienumerable 
Csharp :: c# array lenght 
Csharp :: .net using appsettings variables 
Csharp :: unity trygetcomponent 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =