+ 1
Who to skip a element from a string
4 ответов
+ 3
can you explain your question?
I don't get what you mean
+ 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...😅
+ 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.
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);