private void NormalizeFullName()
        {
            string rawFullName = IHomoclavePerson.GetFullNameForHomoclave().ToUpper();

            FullName = RfcUtils.StripAccents(rawFullName);
            FullName = FullName.Replace("[\\-\\.',]", "");
            FullName = AddMissingCharToFullName(rawFullName, 'Ñ');
        }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="word"></param>
 /// <returns></returns>
 private string Normalize(string word)
 {
     if (string.IsNullOrEmpty(word))
     {
         return(word);
     }
     else
     {
         string normalizedWord = RfcUtils.StripAccents(word).ToUpper();
         return(RemoveSpecialParticles(normalizedWord, SpecialParticles));
     }
 }