<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Insert symbol into string every x character in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789368#M61668</link>
    <description>&lt;P&gt;If the format is always six groups long, I'd just brute-force it instead of trying to write something elegant...&lt;/P&gt;&lt;P&gt;Load Mid(MAC,1,2) &amp;amp; '-' &amp;amp; Mid(MAC,3,2) &amp;amp; '-' &amp;amp;&amp;nbsp; Mid(MAC,5,2) &amp;amp; '-' &amp;amp; Mid(MAC,7,2) &amp;amp; '-' &amp;amp; Mid(MAC,9,2) &amp;amp; '-' &amp;amp; Mid(MAC,11,2) as FormattedMAC&lt;/P&gt;&lt;P&gt;From YourTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2021 21:29:52 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2021-03-08T21:29:52Z</dc:date>
    <item>
      <title>Insert symbol into string every x character</title>
      <link>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789356#M61667</link>
      <description>&lt;P&gt;I'm pretty new to Qlik Sense and just figuring things out. Would take this question to my mentor but he's been sidelined by a massive project, so I'm on my own for the time being.&lt;/P&gt;&lt;P&gt;What I'm dealing with is an app which loads numerous CSV's. Each of these has a computer MAC address field which is listed in the format AABBCCDDEEFF from the CSV source. What I'm wanting to do is to insert a "-" every 2 characters in order to make the MAC's display as AA-BB-CC-DD-EE-FF. More than looking nicer, this will let them interface with our backend DHCP system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does't matter if this happens at the data load phase or if I'm completely missing a way to make the front end do this for me in the tables. Just so long as I end up with a table that is correctly hyphenated for the MAC field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you ahead of time for any help with this. I greatly appreciate the assist.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 20:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789356#M61667</guid>
      <dc:creator>CoffeeFueledNerd</dc:creator>
      <dc:date>2021-03-08T20:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Insert symbol into string every x character</title>
      <link>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789368#M61668</link>
      <description>&lt;P&gt;If the format is always six groups long, I'd just brute-force it instead of trying to write something elegant...&lt;/P&gt;&lt;P&gt;Load Mid(MAC,1,2) &amp;amp; '-' &amp;amp; Mid(MAC,3,2) &amp;amp; '-' &amp;amp;&amp;nbsp; Mid(MAC,5,2) &amp;amp; '-' &amp;amp; Mid(MAC,7,2) &amp;amp; '-' &amp;amp; Mid(MAC,9,2) &amp;amp; '-' &amp;amp; Mid(MAC,11,2) as FormattedMAC&lt;/P&gt;&lt;P&gt;From YourTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 21:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789368#M61668</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-03-08T21:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert symbol into string every x character</title>
      <link>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789659#M61705</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;.&amp;nbsp;That solution worked perfectly for me. I had no clue Mid was a command... still quite a ways for me to go.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 15:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Insert-symbol-into-string-every-x-character/m-p/1789659#M61705</guid>
      <dc:creator>CoffeeFueledNerd</dc:creator>
      <dc:date>2021-03-09T15:08:55Z</dc:date>
    </item>
  </channel>
</rss>

