Hi,
I am trying to remove vowels from a string. How to do that?
str = “todayIS A Great DAy What do you Say”
arr = {“A”, “E”, “I”, “O”, “U”}
And I tried to use for each loop, but not sure how to write the VB Expression in condition
See attachment. Thanks in advance!!
removeVowels.xaml (9.5 KB)
Regards,
Lavina
1 Like
Hello.
If you use a Regex pattern to Replace the characters, it might look something like this:
System.Text.RegularExpressions.Regex.Replace("todayIS A Great DAy What do you Say","[AEIOUaeiou]","")
2 Likes
indra
(Indra)
3
@lavint Check attached file is as per you requriement
removeVowels.xaml (10.1 KB)
1 Like