about | help | code help+videos | done | prefs |
dotCom
Return true if the given string contains an appearance of "com" where the com is not directly preceeded by a period (.). So "ccom" counts but "c.com" does not. dotCom("abccom") → true dotCom("abc.com") → false dotCom("com.abc") → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 200 Post-solution available
Copyright Nick Parlante 2017 - privacy