Java Program to Replace First Occurrence Vowel with ‘-‘ in a String

Replace First Occurrence Vowel With - In A String in java

In this tutorial, We will learn writing java program to Replace First vowel that occurs in the input string with ‘-‘. For any input string, we have to find vowels which occurs very first in the string and print the character after replacing that vowels with ‘-‘. For example Java Program to Replace First Occurrence … Read more