<?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: Using several characters as delimiter for the Words function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18314#M16704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two functions barely overlap.&amp;nbsp; Regex only works with text, and can use very complicated patterns.&amp;nbsp; Substitute only works with very simple patterns, and can operate on text, lists, and expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/Regular_Expressions.shtml" title="http://www.jmp.com/support/help/Regular_Expressions.shtml" rel="noopener noreferrer" target="_blank"&gt;Regular Expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/Character_Functions_2.shtml" title="http://www.jmp.com/support/help/Character_Functions_2.shtml" rel="noopener noreferrer" target="_blank"&gt;Character Functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/blogs/id/1034" target="_blank"&gt;JSL Character String Functions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 10:06:18 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2016-11-09T10:06:18Z</dc:date>
    <item>
      <title>Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18307#M16697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to use a string with several characters as a delimiter for the Words function.&lt;/P&gt;&lt;P&gt;Here is a dummy example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I type :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;words&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: purple;"&gt;"Test1eeTest2"&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;"ee"&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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: purple;"&gt;"Test1"&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;"Test2"&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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: purple;"&gt;"T”,”st1"&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;"T”,”st2"&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 15:49:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18307#M16697</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2016-05-02T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18308#M16698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;You could use regex to change the ee to another single character.&amp;nbsp; If you think @ does not occur in the data,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;words(regex("Test1eeTest2eeTest3eeTest4","ee","@",GLOBALREPLACE),"@")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{"Test1", "Test2", "Test3", "Test4"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;If you are not sure about @ but are pretty sure the ASCII Unit Separator character does not occur, you could use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;words(regex("Test1eeTest2","ee","\!U001F",GLOBALREPLACE),"\!U001F")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;The Unit Separator is unlikely to be in your data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11451_pastedImage_6.png" style="width: 466px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3022i25C5EA3FFE6011F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11451_pastedImage_6.png" alt="11451_pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;the US is really a single character in spite of appearances.&amp;nbsp; Your font may show it differently, or not at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 02:33:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18308#M16698</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-10-19T02:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18309#M16699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's work perfectly !&lt;/P&gt;&lt;P&gt;Thank you so much for your fast answer &lt;SPAN class="replyToName"&gt;Craige@JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 17:32:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18309#M16699</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2016-05-02T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18310#M16700</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/Craige@JMP"&gt;Craige@JMP&lt;/A&gt; beat me to the punch with the general technique, but I'll put a plug in for the &lt;A href="http://www.jmp.com/support/help/Character_Functions.shtml"&gt;Substitute() function&lt;/A&gt; which I find more readable than the regular expressions. It's up to you which you choose to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_macro_quote jive_text_macro"&gt;&lt;P style="margin: 0px; line-height: normal; font-family: Menlo;"&gt;words&lt;STRONG&gt;(&lt;/STRONG&gt;substitute&lt;STRONG&gt;(&lt;/STRONG&gt;"Test1eeTest2", "ee", "!"&lt;STRONG&gt;)&lt;/STRONG&gt;,"!"&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0px; line-height: normal; font-family: Menlo; color: #f1f1f1;"&gt;/*:&lt;/P&gt;&lt;P style="margin: 0px; line-height: normal; font-family: Menlo; min-height: 15px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; line-height: normal; font-family: Menlo;"&gt;&lt;STRONG&gt;{"Test1", "Test2"}&lt;/STRONG&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 18:00:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18310#M16700</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-05-02T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18311#M16701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One advantage of regex is you can make it case-insensitive with the &lt;STRONG&gt;IGNORECASE&lt;/STRONG&gt; argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;words&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;regex&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple;"&gt;"Test1eeTest2eeTest3EETest4"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple;"&gt;"ee"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple;"&gt;"@"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;IGNORECASE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; GLOBALREPLACE&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple;"&gt;"@"&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: 'Courier New';"&gt;{"Test1", "Test2", "Test3", "Test4"}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 18:09:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18311#M16701</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2016-05-02T18:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18312#M16702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Substitute might be a lot better, depending who will maintain the JSL later!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 18:17:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18312#M16702</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-05-02T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18313#M16703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all of you for sharing your advices and points of view!&lt;/P&gt;&lt;P&gt;Except the fact that regex can be case-insentitive, could you please tell me what is the difference between the two functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 07:00:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18313#M16703</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2016-05-03T07:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18314#M16704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two functions barely overlap.&amp;nbsp; Regex only works with text, and can use very complicated patterns.&amp;nbsp; Substitute only works with very simple patterns, and can operate on text, lists, and expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/Regular_Expressions.shtml" title="http://www.jmp.com/support/help/Regular_Expressions.shtml" rel="noopener noreferrer" target="_blank"&gt;Regular Expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/Character_Functions_2.shtml" title="http://www.jmp.com/support/help/Character_Functions_2.shtml" rel="noopener noreferrer" target="_blank"&gt;Character Functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/blogs/id/1034" target="_blank"&gt;JSL Character String Functions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 10:06:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18314#M16704</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-11-09T10:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using several characters as delimiter for the Words function</title>
      <link>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18315#M16705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright thank you for these details &lt;SPAN class="replyToName"&gt;Craige@JMP!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 09:54:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-several-characters-as-delimiter-for-the-Words-function/m-p/18315#M16705</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2016-05-03T09:54:41Z</dc:date>
    </item>
  </channel>
</rss>

