Easy Approaches✅||  Beats 100%🔥🔥 || use replace method👌
\n\n# Code\njava []\nclass Solution {\n    public int countConsistentStrings(String allowed, String[] words) {\n        int c=0;\n        for(String s:words){\n
\n\n# Code\n```java []\nclass Solution {\n    public int countConsistentStrings(String allowed, String[] words) {\n        int c=0;\n        for(String s:words){\n                for(char ch:allowed.toCharArray()){\n                   s=s.replace(String.valueOf(ch),"");\n                }\n                if(s.equals("")){\n                    c++;\n                }\n        }\n        return c;\n    }\n}\n```
['Java']