<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help With Concat - Generating UserID</title><link>https://www.infopathdev.com:443/forums/thread/51109.aspx</link><pubDate>Thu, 28 Jan 2010 19:06:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51109</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51109</wfw:commentRss><description>&lt;p&gt;Right, substring will allow you to select a certain number of characters from a field. &lt;/p&gt;&lt;p&gt;Check out &lt;i&gt;substring before &lt;/i&gt;and &lt;i&gt;substring after&lt;/i&gt; if you have a specific character you need to look for. For example, for &lt;i&gt;ernesto@qdabra&lt;/i&gt; you can do &lt;i&gt;substring-before&lt;/i&gt; and get &lt;i&gt;ernesto &lt;/i&gt;and &lt;i&gt;substring after &lt;/i&gt;and get &lt;i&gt;qdabra&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;Good luck! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Help With Concat - Generating UserID</title><link>https://www.infopathdev.com:443/forums/thread/51094.aspx</link><pubDate>Thu, 28 Jan 2010 15:13:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51094</guid><dc:creator>chadezell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51094</wfw:commentRss><description>&lt;p&gt;Awesome!&amp;nbsp; Thanks a lot!&amp;nbsp; Just so&amp;nbsp;I understand....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;concat(substring(field3, 1, 6), substring(field1, 1, 1), substring(field2, 1, 1))&lt;/p&gt;
&lt;p&gt;In the section where your defining what you want from the field, i.e. (field3, 1, 6), your basically saying the first through sixth character.&amp;nbsp; Correct?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again for the help.&amp;nbsp; I&amp;#39;ve found that InfoPath is really powerful if you can just learn how to use it!&lt;/p&gt;</description></item><item><title>Re: Help With Concat - Generating UserID</title><link>https://www.infopathdev.com:443/forums/thread/51093.aspx</link><pubDate>Thu, 28 Jan 2010 14:50:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51093</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51093</wfw:commentRss><description>&lt;p&gt;Yes, it&amp;#39;s possible with concat and substring. See the attached sample.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Help With Concat - Generating UserID</title><link>https://www.infopathdev.com:443/forums/thread/51091.aspx</link><pubDate>Thu, 28 Jan 2010 14:39:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51091</guid><dc:creator>chadezell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51091</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to generate a username based off of three fields; first name, middle initial, last name. The generated username would fill in a fourth filled call &amp;quot;Generated ID&amp;quot;.&amp;nbsp; The kicker is that I only need the first six characters of the last name and only the first character of the middle initial and first name.&amp;nbsp; And of course if the lastname is less than six characters it should just take the first four or five.&amp;nbsp; Is that possible?&lt;/p&gt;</description></item></channel></rss>