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 I try to not solve every problem using a loop, here my solution:
a!localVariables( local!text: "Television", local!vowels: { "a", "e", "i", "o", "u" }, count( union( intersection( code(lower(local!text)), code(local!vowels) ), tointeger({}) ) ) )