| about | help | code help+videos | done | prefs |
substr
Given two strings, decide if the second one is a substring of the first one without using indexOf() or find() and return a boolean value substr('Somebody help my', 'body') → True substr('Please no', 'noo') → False substr('Intelligent', 'Matthew or Cameron') → False ...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: 300 Post-solution available
Copyright Nick Parlante 2017 - privacy