how to delete character certain index in java

Solutions on MaxInterview for how to delete character certain index in java by the best coders in the world

showing results for - "how to delete character certain index in java"
Simona
28 Aug 2018
1public static String charRemoveAt(String str, int p) {
2return str.substring(0, p) + str.substring(p + 1);
3}