how to remove first occurrence of character from string in java code example Example: java remove first character "Hello World".substring(1) // ello World