<?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: How to convert char to num in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14897#M13839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I did it already bu substracting the first 7 digits (which are supposed to be numbers) but cant change the new formula column from char to num &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/sad.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 12:00:28 GMT</pubDate>
    <dc:creator>saitcopuroglu</dc:creator>
    <dc:date>2015-10-15T12:00:28Z</dc:date>
    <item>
      <title>How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14893#M13835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data as follows and whatever I tried I can't make the new formula column a numeric one.&lt;/P&gt;&lt;P&gt;Could someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10199_Screen Shot 2015-10-15 at 14.35.29.png" style="width: 1012px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2309i22C3B005CC0BADD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10199_Screen Shot 2015-10-15 at 14.35.29.png" alt="10199_Screen Shot 2015-10-15 at 14.35.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 00:55:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14893#M13835</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2016-10-19T00:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14894#M13836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saitcopuroglu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to take the "USD" out of the data in the rows.&amp;nbsp; JMP sees this as character data and will not allow you to change to numeric. You will need to a Find and replace or a Recode to try and make the change a little easier on yourself with over 1400 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:58:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14894#M13836</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2015-10-15T11:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14895#M13837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that all you need to do is use the 'Num' command in front of your 'Substr' command and it Neill convert to a numeric:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Substr( &lt;EM&gt;your column here, 1,7))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope this fixes your problem.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dave&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:58:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14895#M13837</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2015-10-15T11:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14896#M13838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surround what you have with &lt;STRONG&gt;num()&lt;/STRONG&gt;.&amp;nbsp; That will convert a string to a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 12:00:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14896#M13838</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2015-10-15T12:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14897#M13839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I did it already bu substracting the first 7 digits (which are supposed to be numbers) but cant change the new formula column from char to num &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/sad.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 12:00:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14897#M13839</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2015-10-15T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14898#M13840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://kvoqx44227.lithium.com/7.0.4.3b79b96/images/emoticons/sad.png"&gt;&lt;/SPAN&gt; diplays missing data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10200_Screen Shot 2015-10-15 at 15.04.09.png" style="width: 1097px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2310i29AEF442F33DA4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10200_Screen Shot 2015-10-15 at 15.04.09.png" alt="10200_Screen Shot 2015-10-15 at 15.04.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 00:56:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14898#M13840</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2016-10-19T00:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14899#M13841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you want to add the currency, just go to column info and add to column property "Units" the value "USD", you will get the Units in brackets after the column Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 12:06:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14899#M13841</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2015-10-15T12:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14900#M13842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your decimal place separator is a comma, you may need to change it to a full stop for num() to work. I have to, being in the UK. Your local preferences may allow you to work with the comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, using substr() will work only if all your parity values have the same number of digits. If the number of digits increases, it will crop the value, and if the number of digits decreases, the substr() will keep some of the USD characters and num() won't work at all. I suggest you use substitute() instead of substr() to replace "USD" by nothing, and replace&amp;nbsp; "," by "."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10205_parite.png" style="width: 1029px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2315iC5AE2E537EBFDFE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10205_parite.png" alt="10205_parite.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 00:56:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14900#M13842</guid>
      <dc:creator>jvillaumie</dc:creator>
      <dc:date>2016-10-19T00:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14901#M13843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only changing all the commas to full stops solved the problem on its own with &lt;STRONG&gt;substract function&lt;/STRONG&gt; but with &lt;STRONG&gt;substitute function&lt;/STRONG&gt; it is safer in case shorter than 5 decimals displayed data (1.50000 »» 1.5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many many thanks to all input owners for your support ! (And I will change my local preferences from UK to US)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:09:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14901#M13843</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2015-10-15T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14902#M13844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to beat a dead horse but you can still use the Num(Substr(….) option by doing the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:52:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14902#M13844</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2015-10-15T14:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14903#M13845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you dlee0416, could you please send the jmp data table? I am not familiar with Munger function and additional knowledge is always welcome. many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 06:39:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14903#M13845</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2015-10-16T06:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14904#M13846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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:04:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14904#M13846</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-11-09T10:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14905#M13847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saitcopuroglu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here’s a simple table with the formula in the second column illustrating the Munger function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:31:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14905#M13847</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2015-10-16T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14906#M13848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Craige,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the very useful link.&lt;/P&gt;&lt;P&gt;I was looking forward for a long time for jsl capabilities of CTRL+F and REPLACE function. There is a line about it in your link but I couldn't get success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column (comment) with full of text and I would like to replace all exclamation marks with spaces and then collapse whitespace and make all lowercase.&lt;/P&gt;&lt;P&gt;what should be the jsl for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find "'" + ! % / = ( ) : ; ? _ – ; - . , " and replace with " "&lt;/P&gt;&lt;P&gt;collapse whitespace&lt;/P&gt;&lt;P&gt;make lowercase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10215_Screen Shot 2015-10-19 at 10.38.25.png" style="width: 500px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2332i51B0ACA9FC3730A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10215_Screen Shot 2015-10-19 at 10.38.25.png" alt="10215_Screen Shot 2015-10-19 at 10.38.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 00:59:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14906#M13848</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2016-10-19T00:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14907#M13849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saitcopuroglu, you can use substitute() to replace any string you want (and special characters are strings). You can have multiple substitutes "inside" each other, with each substituting a special character by a space " ", or nothing "" or whatever you like "really anything".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there are separate character functions to remove whitespace and turn to lowercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JMP help (F1) for Character functions is really good to see what can be done; you may want to have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find the formula of the last column pasted below the picture so you can re-use it easily. Add more Substitutes() as required to remove other special characters I have missed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10216_Saitcop.png" style="width: 1276px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2333iAB0C2271974506F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10216_Saitcop.png" alt="10216_Saitcop.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lowercase(Collapse Whitespace(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(:Comment, "!", " "), "+", " "), "%", " "), "_", " "), "-", " "), "?", " ")))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 00:59:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14907#M13849</guid>
      <dc:creator>jvillaumie</dc:creator>
      <dc:date>2016-10-19T00:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14908#M13850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To get a slightly simpler formula, use multiple arguments in&lt;/SPAN&gt; Substitute().&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #032ce4;"&gt;Substitute&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;Comment&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"!"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"+"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"%"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"_"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"-"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"?"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;" "&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 10:07:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14908#M13850</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2015-10-19T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14909#M13851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you MS,&lt;/P&gt;&lt;P&gt;Thank you jvillaumie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both work very well !&lt;/P&gt;&lt;P&gt;I am continuously checking the tutorials, books, help, webcasts but sometimes when it comes to action some very simple thing is missing. In this example I knew the Substitute function but did not know it could be surrounded by another Substitute and another and another and by collapse whitespace and lowercase functions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many many thanks again, it saved me 8 minutes for each day of my rest life...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 11:19:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14909#M13851</guid>
      <dc:creator>saitcopuroglu</dc:creator>
      <dc:date>2015-10-19T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14910#M13852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_macro_quote jive_text_macro"&gt;&lt;P&gt;New Table( "Untitled",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add Rows( 2 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; New Column( "source text",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Character,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Nominal",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set Values( {"AbCd!@#GhI!!31", "aa BB&amp;nbsp;&amp;nbsp;&amp;nbsp; CCCC"} )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; New Column( "formula column",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Character,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Nominal",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Formula( Lowercase( Regex( :source text, "[!@# ]+", " ", GLOBALREPLACE ) ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The regex means:&lt;/P&gt;&lt;P&gt;[ ... ]&amp;nbsp; defines a set of characters, in this case, bang, at, pound, and space.&amp;nbsp; Well, that's what I call them.&amp;nbsp; the plus means one or more of the items in the set.&amp;nbsp; The only issue is what characters in the set must be escaped with a backslash: &lt;A href="http://stackoverflow.com/questions/399078/what-special-characters-must-be-escaped-in-regular-expressions" title="http://stackoverflow.com/questions/399078/what-special-characters-must-be-escaped-in-regular-expressions"&gt;regex - What special characters must be escaped in regular expressions? - Stack Overflow&lt;/A&gt; says the characters to escape inside [ ] are ^-]\ (which includes the \ escape character, of course.)&amp;nbsp; If you needed a minus in the set, you could add it like "[!@# \-]+".&amp;nbsp; You can escape other characters too, but it just makes it hard to read, and the ! is especially hard since it collides with JSL's escape: "[\!\!\@\#\ \-]+"&amp;nbsp; (wow!&amp;nbsp; \!\ is a \, then ! is itself.).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the regex matches runs of characters in the set and replaces them with a single space.&amp;nbsp; GLOBALREPLACE means repeat the operation as many times as possible.&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&gt;write("[\!\!\@\#\ \-]+")&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[\!\@\#\ \-]+&lt;/STRONG&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The site I refer to for regex help is &lt;A href="http://www.regular-expressions.info/tutorial.html" title="http://www.regular-expressions.info/tutorial.html"&gt;Regular Expression Tutorial - Learn How to Use Regular Expressions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:33:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14910#M13852</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-10-19T20:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14911#M13853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not aware or the GLOBALREPLACE option. Thanks for pointing that out to me. Bye Regex loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 00:58:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14911#M13853</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2015-10-20T00:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert char to num</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14912#M13854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if GLOBALREPLACE will work in place of a for-loop, it will be much faster for several reasons: the internal loop will be faster than the JSL loop and the internal regex GLOBALREPLACE doesn't start over after each replacement and the result string is built in a single pass.&amp;nbsp; Which makes a big difference if there are a lot of replacements in a long string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:08:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-char-to-num/m-p/14912#M13854</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-10-20T17:08:23Z</dc:date>
    </item>
  </channel>
</rss>

