Hi,
Can anyone please let me know, how to find out the number of vowels in a string?
Thank you in advance
Discussion posts and replies are publicly visible
As you can see, there are a bunch of possibilities here, but honestly I think most of these overcomplicate it:
a!localVariables( local!text: "Test phrase with vowels", len(cleanwith(local!text, "aeiouAEIOU")) )
Genius !
yeah - i also was thinking this is a clear-cut use case for cleanWith().
Great !