<?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>Add Space</title><link>https://community.appian.com/discussions/f/new-to-appian/26957/add-space</link><description>Hii All, 
 I want to add space between the string and first letter in upper case like: 
 firstName : First Name 
 lastName : Last Name 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Add Space</title><link>https://community.appian.com/thread/106037?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2022 13:54:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70e412e2-5eab-4049-8207-ade9bf53d71b</guid><dc:creator>Komal Jain</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/jyotig0003"&gt;jojog0003&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please use this expression to get the expected output&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;firstName : First Name&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!letter: &amp;quot;firstName&amp;quot;,&lt;br /&gt; local!a: joinarray(&lt;br /&gt; a!forEach(&lt;br /&gt; items: enumerate(len(local!letter)) + 1,&lt;br /&gt; expression: if(&lt;br /&gt; exact(&lt;br /&gt; fn!mid(local!letter, fv!index, 1),&lt;br /&gt; upper(fn!mid(local!letter, fv!index, 1))&lt;br /&gt; ),&lt;br /&gt; concat(&amp;quot; &amp;quot;, fn!mid(local!letter, fv!index, 1)),&lt;br /&gt; fn!mid(local!letter, fv!index, 1)&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; &amp;quot;&amp;quot;&lt;br /&gt; ),&lt;br /&gt; proper(local!a)&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add Space</title><link>https://community.appian.com/thread/105871?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 17:48:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fff7270c-c373-4eaf-b4cb-b09b42706acc</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There are a lot of questions you&amp;#39;d need to answer before anyone can give you a strong answer here.&lt;/p&gt;
&lt;p&gt;Are you talking about a rule that would take one string (&lt;em&gt;&lt;strong&gt;any&lt;/strong&gt;&lt;/em&gt; string) as an input, and return an output where space(s) have been added?&lt;/p&gt;
&lt;p&gt;What is the full range of acceptable inputs?&amp;nbsp; Is it just &amp;quot;firstName&amp;quot; and &amp;quot;lastName&amp;quot;, or is it literally any string?&amp;nbsp; What would the expected result be if the input has no uppercase characters? What would the expected result be if the input is &lt;em&gt;&lt;strong&gt;only&lt;/strong&gt;&lt;/em&gt; uppercase characters?&amp;nbsp; And all permutations between those possibilities?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>