<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/discussions/f/new-to-appian/26394/how-to-find-out-the-number-of-vowels-in-a-string-in-appian</link><description>Hi, 
 Can anyone please let me know, how to find out the number of vowels in a string? 
 
 Thank you in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/130039?ContentTypeID=1</link><pubDate>Sat, 24 Feb 2024 14:50:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51a55baf-e40f-4510-9c21-07385ea4b70b</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Use regular expressions function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/regular-expression-functions"&gt;community.appian.com/.../regular-expression-functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regexallmatches(&lt;br /&gt; &amp;quot;[aeiouAEIOU]&amp;quot;,&lt;br /&gt; &amp;quot;SIMPLE TEST&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/130038?ContentTypeID=1</link><pubDate>Sat, 24 Feb 2024 14:44:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53f386a8-2443-4343-810b-d90b09e31b3e</guid><dc:creator>ankits7238</dc:creator><description>&lt;p&gt;a!localVariables(&lt;br /&gt; local!string: &amp;quot;APPIAN NAME&amp;quot;,&lt;br /&gt; local!code: char(code(local!string)),&lt;br /&gt; local!tip: cleanwith(local!code,&amp;quot;aeiouAEIOU&amp;quot;),&lt;br /&gt; a!forEach(&lt;br /&gt; items: local!tip,&lt;br /&gt; expression: a!localVariables(&lt;br /&gt; concat(&amp;quot;on &amp;quot; &amp;amp; fv!index &amp;amp; &amp;quot; index- &amp;quot; &amp;amp; local!tip[fv!index])&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/105438?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 19:38:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87a36a12-9493-429f-99a4-23e8654a918c</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="markdown"&gt;a!localVariables(
  local!string: &amp;quot;APPIAN&amp;quot;,
  local!vowels: {&amp;quot;A&amp;quot;,&amp;quot;E&amp;quot;,&amp;quot;I&amp;quot;,&amp;quot;O&amp;quot;,&amp;quot;U&amp;quot;},
  length(wherecontains(local!vowels,char(code(local!string))))
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/105262?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2022 10:59:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12fd2b01-6d78-4d71-bfcd-1d7ec27b3375</guid><dc:creator>skk3042</dc:creator><description>&lt;p&gt;Its not counting all the vowels, only first vowel is get counted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103663?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 15:10:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e988713f-28df-41f3-bfbe-8d6ac4ed317d</guid><dc:creator>supriyam0001</dc:creator><description>&lt;p&gt;Great !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103646?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 12:56:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a1de38a-5d1c-4e94-932b-e807b6f03321</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;yeah - i also was thinking this is a clear-cut use case for cleanWith().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103645?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 12:55:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b561540-93ec-4cb4-953c-46d9c2954739</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Genius !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103643?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 12:53:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9508427-3ce0-458f-b3dd-384a7400c167</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;As you can see, there are a bunch of possibilities here, but honestly I think most of these overcomplicate it:&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!text: &amp;quot;Test phrase with vowels&amp;quot;,
  len(cleanwith(local!text, &amp;quot;aeiouAEIOU&amp;quot;))
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103608?ContentTypeID=1</link><pubDate>Sat, 29 Oct 2022 13:14:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f6e858c-3de5-4e2f-a177-87e0df9a000d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;As I try to not solve every problem using a loop, here my solution:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!text: &amp;quot;Television&amp;quot;,
  local!vowels: { &amp;quot;a&amp;quot;, &amp;quot;e&amp;quot;, &amp;quot;i&amp;quot;, &amp;quot;o&amp;quot;, &amp;quot;u&amp;quot; },
  count(
    union(
      intersection(
        code(lower(local!text)),
        code(local!vowels)
      ),
      tointeger({})
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103600?ContentTypeID=1</link><pubDate>Sat, 29 Oct 2022 07:57:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e273dbd-9beb-4a70-aae3-02e34b1faa36</guid><dc:creator>mahesha928463</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1667030292127v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find out the number of vowels in a string in Appian ?</title><link>https://community.appian.com/thread/103599?ContentTypeID=1</link><pubDate>Sat, 29 Oct 2022 07:51:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e7de345-2424-4240-8fc5-66a081f7051d</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Hi, Check the below code&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!text: &amp;quot;Television&amp;quot;,
  local!vowels: { &amp;quot;a&amp;quot;, &amp;quot;e&amp;quot;, &amp;quot;i&amp;quot;, &amp;quot;o&amp;quot;, &amp;quot;U&amp;quot; },
  local!getVowels: a!forEach(
    items: char(code(local!text)),
    expression: if(
      contains(local!vowels, lower(fv!item)),
      fv!item,
      {}
    )
  ),
  length(local!getVowels)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>