DarkEmu_GameServer.Systems.Removebadchars C# (CSharp) Метод

Removebadchars() публичный статический Метод

public static Removebadchars ( string Charactername ) : string
Charactername string
Результат string
        public static string Removebadchars(string Charactername)
        {
            //Return the replaced characters (They are replaced with no character).
            return Regex.Replace(Charactername, "[^a-zA-Z0-9.]+", "", RegexOptions.Compiled);
        }
Systems