| about | help | code help+videos | done | prefs |
posLittleInBig
Given two Strings: big and little, return "pos:x" where x is the index of the little String inside big or "Not There" if little isn't found inside of big. posLittleInBig("ABC123", "123") → "pos:3" posLittleInBig("ABC123", "BC") → "pos:1" posLittleInBig("ABC123", "ABC123") → "pos:0" ...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: 100
Copyright Nick Parlante 2017 - privacy