about | help | code help+videos | done | prefs |
string_underscores
Given a string array "words", return the array but where every string inside the array has had its underscores replaced with spaces. string_underscores(["Item_1", "Item_2", "Item_3"]) → ["Item 1", "Item 2", "Item 3"] string_underscores(["A_B", "B_C"]) → ["A B", "B C"] string_underscores(["_Computer_", "_Science_"]) → [" Computer ", " Science "] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy