<?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>Issue with user and tostring functions</title><link>https://community.appian.com/discussions/f/general/23647/issue-with-user-and-tostring-functions</link><description>Hi, 
 Can someone help me here. 
 Line1 code in the below attached image is giving proper expected output (Email). 
 Where as Line2 is returning an error. 
 Any idea what went wrong.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Issue with user and tostring functions</title><link>https://community.appian.com/thread/90718?ContentTypeID=1</link><pubDate>Sat, 05 Feb 2022 11:47:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5aad255b-f567-4123-a42b-4df3210d39af</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi , Could you please share us the error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with user and tostring functions</title><link>https://community.appian.com/thread/90711?ContentTypeID=1</link><pubDate>Sat, 05 Feb 2022 00:40:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:388391dc-4edc-4f00-ae5a-3fc70534e371</guid><dc:creator>Pratiksha </dc:creator><description>&lt;p&gt;What is the error you are getting ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with user and tostring functions</title><link>https://community.appian.com/thread/90710?ContentTypeID=1</link><pubDate>Sat, 05 Feb 2022 00:37:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cca03596-4bab-4ad6-b9a9-041394b3f050</guid><dc:creator>agam</dc:creator><description>&lt;p&gt;I tried and both worked for me without any issues&lt;/p&gt;
&lt;p&gt;whats the error you got ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and, one alternative method to extract the username from your text string could also be:&lt;/p&gt;
&lt;p&gt;keyval(&amp;quot;Reddy, Rao (AA12351)&amp;quot;, &amp;quot; &amp;quot;, &amp;quot;(&amp;quot;, &amp;quot;)&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>