Answer the question
In order to leave comments, you need to log in
What should be done in the stringBits task on codingbat.ru?
Hello. I solve problems in Java, which are given on this resource and reached the following:
Given a string, return a new string made of every other char starting with the first, so "Hello" yields "Hlo".
stringBits("Hello") → "Hlo"
stringBits("Hi") → "H"
stringBits("Heeololeo") → "Hello"
Answer the question
In order to leave comments, you need to log in
Judging by the examples, you need to output a string through a character starting from the first character
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question