Esempio n. 1
0
 /// <summary>
 /// 不要な文字を削除したコードを返します
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static string ToSimplyCode(string str)
 => ToSimpleCode.Get(str, EffectiveCharacters.RemoveNonEffectiveChars);
Esempio n. 2
0
        static IEnumerable <string> Get(string sourceCode, Func <string, IEnumerable <char> > removeNonEfectivChar)
        {
            var codes = ToSimpleCode.Get(sourceCode, removeNonEfectivChar).SplitIf((p, n) => (p != n)).Select(p => p.ToArray());

            return(ToCLangHelper(ToSimpleCode.GetMarged(codes)));
        }