<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Replace first character in a text field only if...</title><link>https://www.infopathdev.com:443/forums/thread/122305.aspx</link><pubDate>Mon, 27 Jan 2020 19:44:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122305</guid><dc:creator>srudenko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=122305</wfw:commentRss><description>I think I found an answer from another post on this form.
Translate doesn&amp;#39;t seem to work to change ;; to ; but this does:

concat(substring-before(Emails, &amp;quot;;;&amp;quot;), &amp;quot;;&amp;quot;, substring-after(Emails, &amp;quot;;;&amp;quot;))</description></item><item><title>Re: Replace first character in a text field only if...</title><link>https://www.infopathdev.com:443/forums/thread/122304.aspx</link><pubDate>Mon, 27 Jan 2020 19:29:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122304</guid><dc:creator>srudenko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=122304</wfw:commentRss><description>Thank you. That worked but now I have a follow up question.
Since I have 5 check boxes to create the email string there are many combinations and when adding / removing checks randomly I am running into output where the email address goes away once checkbox is unchecked but extra semicolons remain.
EX: aaa@invesco.com;;ccc@invesco.com;ddd@invesco.com;

So I tried adding a rule on that email string field
Condition - When field contains &amp;quot;;;&amp;quot;
Action - translate(., &amp;quot;;;&amp;quot;,&amp;quot;;&amp;quot;)

That doesn&amp;#39;t seem to do anything however. I am sure I am missing something or doing it incorrectly.</description></item><item><title>Re: Replace first character in a text field only if...</title><link>https://www.infopathdev.com:443/forums/thread/122297.aspx</link><pubDate>Fri, 24 Jan 2020 17:33:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122297</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=122297</wfw:commentRss><description>On the field that is being set (target field) add a rule. The condition on the rule be if the target field begins with ; and the rule will use a substring formula to reset. See attached sample - save the linked file locally. Right click and select design. Preview and enter text that starts with ;</description></item><item><title>Replace first character in a text field only if...</title><link>https://www.infopathdev.com:443/forums/thread/122296.aspx</link><pubDate>Fri, 24 Jan 2020 16:43:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122296</guid><dc:creator>srudenko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=122296</wfw:commentRss><description>Hello

Lets say I have a text field that gets populated with values based on other controls in the form and the value is something like this:
;aaa@email.com;bbb@email.com;ccc@email.com

How do I remove the first character in a string ONLY if it starts with ;
If its anything else then leave it as-is?

Thanks</description></item></channel></rss>