<?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 Left function behavior in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83026#M37388</link>
    <description>&lt;P&gt;I'm having an odd behavior with Left(). Consider the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left( "A", 2, " ") &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I anticipate the result will be "A " (i.e. padded on the right with a space). And indeed this is what I get.&lt;/P&gt;&lt;P&gt;However, When I use the same expression in a column formula like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left( :Input, 2, " ")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I have "A" as the value in &lt;EM&gt;Input&lt;/EM&gt;, I am just getting "A"&amp;nbsp;in the result column (i.e. no right space).&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
    <pubDate>Sat, 10 Nov 2018 21:42:16 GMT</pubDate>
    <dc:creator>john_madden</dc:creator>
    <dc:date>2018-11-10T21:42:16Z</dc:date>
    <item>
      <title>Left function behavior</title>
      <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83026#M37388</link>
      <description>&lt;P&gt;I'm having an odd behavior with Left(). Consider the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left( "A", 2, " ") &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I anticipate the result will be "A " (i.e. padded on the right with a space). And indeed this is what I get.&lt;/P&gt;&lt;P&gt;However, When I use the same expression in a column formula like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left( :Input, 2, " ")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I have "A" as the value in &lt;EM&gt;Input&lt;/EM&gt;, I am just getting "A"&amp;nbsp;in the result column (i.e. no right space).&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Nov 2018 21:42:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83026#M37388</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-11-10T21:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Left function behavior</title>
      <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83028#M37389</link>
      <description>&lt;P&gt;I think you are hitting a rule that trims trailing spaces from character data in data tables. This works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Append a non-space after the left function's result" style="width: 502px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14300i3D0CAF766D5A53E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Append a non-space after the left function's result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Append a non-space after the left function's result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Nov 2018 23:33:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83028#M37389</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-11-10T23:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Left function behavior</title>
      <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83031#M37392</link>
      <description>Is that a built-in JMP rule that is always on? It’s fine if so, I just didn’t know it existed.</description>
      <pubDate>Sun, 11 Nov 2018 06:34:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83031#M37392</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-11-11T06:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Left function behavior</title>
      <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83032#M37393</link>
      <description />
      <pubDate>Sun, 11 Nov 2018 06:36:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83032#M37393</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-11-11T06:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Left function behavior</title>
      <link>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83033#M37394</link>
      <description>&lt;P&gt;Removing trailing spaces&amp;nbsp;can't be turned off. JMP removes the trailing spaces so other code that does grouping can run faster and not make two groups that seem to have the same identifier.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 12:16:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Left-function-behavior/m-p/83033#M37394</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-11-11T12:16:46Z</dc:date>
    </item>
  </channel>
</rss>

