| about | help | code help+videos | done | prefs |
firstHalf
Given a String parameter return the first half of the String. Strings with an odd length should NOT include the middle character.firstHalf("HalfFirst") → "Half" firstHalf("12345678") → "1234" firstHalf("ABC123") → "ABC" ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy