+ 1

Who to skip a element from a string

4th Sep 2019, 12:57 PM
Vishal Kumar
Vishal Kumar - avatar
4 Respostas
+ 3
can you explain your question? I don't get what you mean
4th Sep 2019, 1:34 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
+ 3
do you mean like removing a character from a String or when going throw a String using a for/while-loop skiping a character or sth else? explain so we can help you...😅
4th Sep 2019, 1:40 PM
Anton Böhler
Anton Böhler - avatar
+ 1
I don't really know who to skip a element from a string, I only know how to skip an element from a string.
4th Sep 2019, 1:43 PM
Calviղ
Calviղ - avatar
0
// I'll skip it String str = "Who skip an element"; int at = 7; String res = str.substring(0,at) + str.substring(at+1); System.out.println(res);
4th Sep 2019, 8:01 PM
zemiak