what would be the least verbose way to remove one item by value from char[] core java 8 > ?
char[] c = new char[] {'a', 'b', 'c'};
I want remove 'b' for egz.
what would be the least verbose way to remove one item by value from char[] core java 8 > ?
char[] c = new char[] {'a', 'b', 'c'};
I want remove 'b' for egz.
Not especially efficient, but certainly not verbose
char[] c = new char[] {'a', 'b', 'c'};
c = new String(c).replace("b","").toCharArray();