Exemple #1
0
 /// <summary>
 /// Handles 'L' cases.
 /// </summary>
 private int HandleL(string value, DoubleMetaphoneResult result, int index)
 {
     if (CharAt(value, index + 1) == 'L')
     {
         if (ConditionL0(value, index))
         {
             result.AppendPrimary('L');
         }
         else
         {
             result.Append('L');
         }
         index += 2;
     }
     else
     {
         index++;
         result.Append('L');
     }
     return(index);
 }