Posts

Showing posts from June, 2017

Remove Diacritics Using C#

Remove Diacritics Using C#


public static string NormalizeString(string text)
{
    string normalStr = text.Normalize(NormalizationForm.FormD);
    var stringBuilder = new StringBuilder();

     foreach (var c in normalStr)
     {
          var unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c);
          if (unicodeCategory != UnicodeCategory.NonSpacingMark)
          {
             if (char.IsWhiteSpace(c))
                 stringBuilder.Append((char)32); // Removed  (160) &#32
             else
                 stringBuilder.Append(c);
           }
      }
            return stringBuilder.ToString().Normalize(NormalizationForm.FormC);
}

IT Propessional should have these things

#topic_titlte# Must have things for IT professionals #title#
#topic_para# A domain name #para#
#topic_para# A cool website #para#
#topic_para# A portfolio portal #para#
 #topic_para# Updated Resume on your website #para#
 #topic_para#  Blog writing on current treand and technologies. #para