<?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 indexes of a character in a string</title><link>https://community.appian.com/discussions/f/appian-community-edition/34476/how-to-find-indexes-of-a-character-in-a-string</link><description>By using find or search we are getting only first index, but i want to get all the indexes of the particular character in a string. 
 Eg: local!variable:{&amp;quot;Appian | Documentation | Appian |Community}, 
 I want to get the indexes of this symbol &amp;quot;|&amp;quot;</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131871?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 10:43:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d60ae01-0d28-4617-9cb0-07fb7a130b3b</guid><dc:creator>sravanin0005</dc:creator><description>&lt;p&gt;yes, if i am using the substitute function, i am getting the result&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131869?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 09:49:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88e90a17-dabc-485c-9e2c-d489aaeb57f5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why not use substitute(&amp;quot;string | string&amp;quot;, &amp;quot;|&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131867?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 09:45:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6bec60a-c928-4301-9ded-fbfe444f3674</guid><dc:creator>sravanin0005</dc:creator><description>&lt;p&gt;Thank you so much, working good&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131866?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 09:35:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d31283e-dd0b-49ab-aced-0bcc8a0edaf5</guid><dc:creator>ujjwalb0003</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!string: {&amp;quot;Appian | Documentation | Appian |Community&amp;quot;},
  local!stringArray: lower(touniformstring(char(code(local!string)))),
  local!index: wherecontains(tostring(&amp;quot;|&amp;quot;),local!stringArray),
  joinarray(remove(
    local!stringArray,
    local!index
  ),&amp;quot;&amp;quot;)
)&lt;/pre&gt;try this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131863?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 09:29:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d822c02e-9a1f-44a4-9af3-3b425b1d429f</guid><dc:creator>sravanin0005</dc:creator><description>&lt;p&gt;Thank you ujjwalb0003, it is working,&lt;/p&gt;
&lt;p&gt;I have another doubt i want remove above indexes characters in string, how can do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find indexes of a character in a string</title><link>https://community.appian.com/thread/131860?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 08:23:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fd7a206-6f98-4985-b364-7874f508b77d</guid><dc:creator>ujjwalb0003</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="/members/sravanin0005"&gt;sravanin0005&lt;/a&gt;&amp;nbsp; you can try this&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!string: {&amp;quot;Appian | Documentation | Appian |Community&amp;quot;},
  local!stringArray: lower(touniformstring(char(code(local!string)))),
  wherecontains(tostring(&amp;quot;|&amp;quot;),local!stringArray)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>