about | help | code help+videos | done | prefs |
boolean nearEnd(String str). Returns true if str nearly starts with "123" and nearly ends with "789". If you ignore the first character, the string "a123bcd" nearly starts with "123". If you ignore the last character, the string "the789z" nearly ends with "789". nearEnd("a123mno789z") → true nearEnd("123blue789") → false nearEnd("b123red689z") → 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: 120
Copyright Nick Parlante 2017 - privacy