<?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: Is there a formula to remove white space from a character field ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18943#M17266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More accurately:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;regex&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;text&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: purple;"&gt;"\s"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: purple;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;globalreplace&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;Your code will only remove spaces, \s will find all white space in regex including tabs, carriage returns, new lines, and a host of other white space characters.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 20:50:39 GMT</pubDate>
    <dc:creator>msharp</dc:creator>
    <dc:date>2016-06-10T20:50:39Z</dc:date>
    <item>
      <title>Is there a formula to remove white space from a character field ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18940#M17263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a formula to remove white space from a character field. The data field is not supposed to have and white spaces or blank spaces within the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 18:22:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18940#M17263</guid>
      <dc:creator>vinkane</dc:creator>
      <dc:date>2016-06-08T18:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a formula to remove white space from a character field ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18941#M17264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trim will remove white space at the beginning and or the end of the field. I'm not sure if it will remove white space in the middle of the field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:56:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18941#M17264</guid>
      <dc:creator>ledi_trutna</dc:creator>
      <dc:date>2016-06-08T19:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a formula to remove white space from a character field ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18942#M17265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/people/VinKane"&gt;VinKane&lt;/A&gt;​ : This will work : &lt;BR /&gt;&amp;nbsp;&amp;nbsp; Name = "Vin Kane" ; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; regex(Name," ","","globalreplace");&amp;nbsp;&amp;nbsp; // The first character is white space within quotations , the second character is just quotations without a space &lt;BR /&gt;&lt;A href="https://community.jmp.com/people/ledi.trutna"&gt;ledi.trutna&lt;/A&gt;​ : Trim is not capable of replacing the spaces in between - but like you said it works for leading and trailing white spaces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 20:11:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18942#M17265</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2016-06-08T20:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a formula to remove white space from a character field ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18943#M17266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More accurately:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;regex&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;text&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: purple;"&gt;"\s"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: purple;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;globalreplace&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;Your code will only remove spaces, \s will find all white space in regex including tabs, carriage returns, new lines, and a host of other white space characters.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 20:50:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-formula-to-remove-white-space-from-a-character-field/m-p/18943#M17266</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-06-10T20:50:39Z</dc:date>
    </item>
  </channel>
</rss>

