<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-7958828565254404797.post4605378716995442594..comments</id><updated>2024-12-13T03:11:35.450-08:00</updated><title type='text'>Comments on ListenData: SAS : Character Functions</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.listendata.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default?start-index=26&amp;max-results=25'/><author><name>Deepanshu Bhalla</name><uri>http://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3486835357244491806</id><published>2022-08-07T10:24:28.537-07:00</published><updated>2022-08-07T10:24:28.537-07:00</updated><title type='text'>DATA X;&#xa;STR=&amp;quot;ABCDXYZ&amp;quot;;&#xa;RUN;&#xa;&#xa;DATA ABC;&#xa;S...</title><content type='html'>&lt;br /&gt;DATA X;&lt;br /&gt;STR=&amp;quot;ABCDXYZ&amp;quot;;&lt;br /&gt;RUN;&lt;br /&gt;&lt;br /&gt;DATA ABC;&lt;br /&gt;SET X;&lt;br /&gt;COLUMN2= SUBSTR(STR,1,2)||SUBSTR(STR,5,3);&lt;br /&gt;COLUMN1= SUBSTR(STR,1,7);&lt;br /&gt;WORD1= SUBSTR(STR,1,4);&lt;br /&gt;WORD2= SUBSTR(STR,5,3);&lt;br /&gt;&lt;br /&gt;RUN;&lt;br /&gt;&lt;br /&gt;PROC TRANSPOSE DATA = ABC OUT=KK;&lt;br /&gt;VAR COLUMN1 COLUMN2 WORD1 WORD2;&lt;br /&gt;QUIT;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3486835357244491806'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3486835357244491806'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1659893068537#c3486835357244491806' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7036290758253971877'/><author><name>Pavankalyangoud</name><uri>https://www.blogger.com/profile/17273243959040160359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-766455118"/><gd:extendedProperty name="blogger.displayTime" value="August 7, 2022 at 10:24 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8713498561262509083</id><published>2022-04-04T00:00:36.083-07:00</published><updated>2022-04-04T00:00:36.083-07:00</updated><title type='text'>hellon &#xa;&#xa;&#xa;</title><content type='html'>hellon &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8713498561262509083'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8713498561262509083'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1649055636083#c8713498561262509083' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/06912481812909306598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-251675701"/><gd:extendedProperty name="blogger.displayTime" value="April 4, 2022 at 12:00 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4219274600245474112</id><published>2022-03-20T04:17:51.688-07:00</published><updated>2022-03-20T04:17:51.688-07:00</updated><title type='text'>data p1;&#xa;name=&amp;#39;Ramchandra&amp;#39;;&#xa;p2=compress(na...</title><content type='html'>data p1;&lt;br /&gt;name=&amp;#39;Ramchandra&amp;#39;;&lt;br /&gt;p2=compress(name,&amp;#39;amchnd&amp;#39;);&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4219274600245474112'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4219274600245474112'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1647775071688#c4219274600245474112' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2218798774076004497'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/04869411067264634443</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-912922388"/><gd:extendedProperty name="blogger.displayTime" value="March 20, 2022 at 4:17 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3644121409883430270</id><published>2022-01-23T02:01:13.753-08:00</published><updated>2022-01-23T02:01:13.753-08:00</updated><title type='text'>data t;&#xa;input a $200.;&#xa;cards;&#xa;red blood cells(rbc)...</title><content type='html'>data t;&lt;br /&gt;input a $200.;&lt;br /&gt;cards;&lt;br /&gt;red blood cells(rbc)&lt;br /&gt;white blood cells(wbc)&lt;br /&gt;;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;I need output as&lt;br /&gt;Red Blood Cells(RBC)&lt;br /&gt;White Blood Cells(WBC)&lt;br /&gt;&lt;br /&gt;How to write the code for this output?&lt;br /&gt;Thanks in Advance&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;HI the below code will give the result as WBC AND RBC.&lt;br /&gt;data t2;&lt;br /&gt;set t;&lt;br /&gt;b= (scan(a,-1,&amp;#39;(&amp;#39;));&lt;br /&gt;b= tranwrd(b,&amp;#39;)&amp;#39;,&amp;#39; &amp;#39;);&lt;br /&gt;b=upcase(b);&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3644121409883430270'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3644121409883430270'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1642932073753#c3644121409883430270' title=''/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 2:01 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1966918577377064823</id><published>2022-01-23T01:24:20.980-08:00</published><updated>2022-01-23T01:24:20.980-08:00</updated><title type='text'>Hi, please check the below code for &amp;quot;Hi,&amp;quot...</title><content type='html'>Hi, please check the below code for &amp;quot;Hi,&amp;quot; result.&lt;br /&gt;data _null;&lt;br /&gt;string=&amp;#39;Hi, How are you doing?&amp;#39;;&lt;br /&gt;first_word=quote(scan(string, 1,&amp;#39; &amp;#39;));&lt;br /&gt; *quote is used to give quotes for varaible;&lt;br /&gt;put first_word =;&lt;br /&gt;run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1966918577377064823'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1966918577377064823'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1642929860980#c1966918577377064823' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/46917432673501449'/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 1:24 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2328012322263037035</id><published>2022-01-23T00:49:30.218-08:00</published><updated>2022-01-23T00:49:30.218-08:00</updated><title type='text'>Hi Harish,&#xa;&#xa;Yes we have compress function with mod...</title><content type='html'>Hi Harish,&lt;br /&gt;&lt;br /&gt;Yes we have compress function with modifier. Please check the below code.&lt;br /&gt;&lt;br /&gt;data temp2;&lt;br /&gt;x=&amp;quot;Ramachandra&amp;quot;;&lt;br /&gt;y=compress(x,&amp;#39;R&amp;#39;&amp;#39;r&amp;#39;,&amp;#39;k&amp;#39;);&lt;br /&gt;run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2328012322263037035'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2328012322263037035'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1642927770218#c2328012322263037035' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2218798774076004497'/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 12:49 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8811047556945090495</id><published>2022-01-23T00:34:40.193-08:00</published><updated>2022-01-23T00:34:40.193-08:00</updated><title type='text'>Hi, Please check the below code.&#xa;data temp;&#xa;set qw...</title><content type='html'>Hi, Please check the below code.&lt;br /&gt;data temp;&lt;br /&gt;set qwer;&lt;br /&gt;Fname = scan(name,1,&amp;#39; &amp;#39;);&lt;br /&gt;Lname= scan(name,-2,&amp;quot;&amp;quot;);&lt;br /&gt;mailid= tranwrd(cats(name,&amp;quot;@gmail.com&amp;quot;), &amp;quot; &amp;quot;,&amp;quot;.&amp;quot;);&lt;br /&gt;run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8811047556945090495'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8811047556945090495'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1642926880193#c8811047556945090495' title=''/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 12:34 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8948182641525586425</id><published>2021-12-27T08:49:19.008-08:00</published><updated>2021-12-27T08:49:19.008-08:00</updated><title type='text'>data qwer;&#xa;input name $18.;&#xa;datalines;&#xa;imran khan&#xa;...</title><content type='html'>data qwer;&lt;br /&gt;input name $18.;&lt;br /&gt;datalines;&lt;br /&gt;imran khan&lt;br /&gt;mohsin uzzama&lt;br /&gt;mohammed oviz khan&lt;br /&gt;;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;output should be like this ;-&lt;br /&gt;&lt;br /&gt;NAME                 Fname            Lname              MailId    &lt;br /&gt;imran khan            imran            khan              imran.khan@gmail.com&lt;br /&gt;mohsin uzzama         mohsin           uzzama            mohsin.uzzama@gmail.com&lt;br /&gt;mohammed oviz khan    mohammed         oviz khan         mohammed.oviz.khan@gmail.com</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8948182641525586425'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8948182641525586425'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1640623759008#c8948182641525586425' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/00486204811452832241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2138136488"/><gd:extendedProperty name="blogger.displayTime" value="December 27, 2021 at 8:49 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8998172261499682986</id><published>2021-10-29T03:28:43.342-07:00</published><updated>2021-10-29T03:28:43.342-07:00</updated><title type='text'>can you explain in detail .  </title><content type='html'>can you explain in detail .  </content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8998172261499682986'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8998172261499682986'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1635503323342#c8998172261499682986' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7036290758253971877'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/11217821703568731782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1299211989"/><gd:extendedProperty name="blogger.displayTime" value="October 29, 2021 at 3:28 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6664723016838994288</id><published>2021-07-31T02:20:54.741-07:00</published><updated>2021-07-31T02:20:54.741-07:00</updated><title type='text'>Great Work sir, keep posting always.&#xa;Thank for cre...</title><content type='html'>Great Work sir, keep posting always.&lt;br /&gt;Thank for creating listen data.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/6664723016838994288'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/6664723016838994288'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1627723254741#c6664723016838994288' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/00733096047231688752</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1547118772"/><gd:extendedProperty name="blogger.displayTime" value="July 31, 2021 at 2:20 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5510951114480285961</id><published>2021-06-14T06:34:33.209-07:00</published><updated>2021-06-14T06:34:33.209-07:00</updated><title type='text'>data na (keep=name firstname middlename lastname);...</title><content type='html'>data na (keep=name firstname middlename lastname);&lt;br /&gt;set names ;&lt;br /&gt;firstname=scan(name,1);&lt;br /&gt;y=scan(name,2);&lt;br /&gt;z=scan(name,3);&lt;br /&gt;r=scan(name,4);&lt;br /&gt;q=catx(&amp;#39; &amp;#39;,y,z,r);&lt;br /&gt;lastname=scan(q,-1);&lt;br /&gt;s1=scan(q,-2);&lt;br /&gt;s2=scan(q,-3);&lt;br /&gt;middlename=catx(&amp;#39; &amp;#39;,s1,s2);&lt;br /&gt;run;&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/5510951114480285961'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/5510951114480285961'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1623677673209#c5510951114480285961' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2737386314951832598'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="June 14, 2021 at 6:34 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2302140411627383663</id><published>2021-06-13T01:29:29.444-07:00</published><updated>2021-06-13T01:29:29.444-07:00</updated><title type='text'>DATA W;&#xa;SET t;&#xa;x=propcase(scan(a,1,&amp;#39;(&amp;#39;));&#xa;...</title><content type='html'>DATA W;&lt;br /&gt;SET t;&lt;br /&gt;x=propcase(scan(a,1,&amp;#39;(&amp;#39;));&lt;br /&gt;y=upcase(substr(a,index(a,&amp;#39;(&amp;#39;),5));&lt;br /&gt;z=cats(x,y);&lt;br /&gt;drop x y;&lt;br /&gt;run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2302140411627383663'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2302140411627383663'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1623572969444#c2302140411627383663' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7173221898045964527'/><author><name>gaurav</name><uri>https://www.blogger.com/profile/06254325582813338777</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-625679642"/><gd:extendedProperty name="blogger.displayTime" value="June 13, 2021 at 1:29 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4530727268004086728</id><published>2021-02-04T07:11:02.854-08:00</published><updated>2021-02-04T07:11:02.854-08:00</updated><title type='text'>data g;&#xa;x=&amp;quot;Ramachandra&amp;quot;;&#xa;x1=compress(x,&amp;...</title><content type='html'>data g;&lt;br /&gt;x=&amp;quot;Ramachandra&amp;quot;;&lt;br /&gt;x1=compress(x,&amp;#39;Rr&amp;#39;,&amp;#39;k&amp;#39;);&lt;br /&gt;run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4530727268004086728'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4530727268004086728'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1612451462854#c4530727268004086728' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4169264745126518738'/><author><name>pavan n</name><uri>https://www.blogger.com/profile/06846547850202637302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-39205772"/><gd:extendedProperty name="blogger.displayTime" value="February 4, 2021 at 7:11 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-7859958002965955531</id><published>2020-12-13T01:03:08.202-08:00</published><updated>2020-12-13T01:03:08.202-08:00</updated><title type='text'>Hi&#xa;&#xa;You are doing a great job. Thanks. &#xa;Please wou...</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;You are doing a great job. Thanks. &lt;br /&gt;Please would you be able to explain the round function.&lt;br /&gt;&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7859958002965955531'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7859958002965955531'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1607850188202#c7859958002965955531' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="December 13, 2020 at 1:03 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2218798774076004497</id><published>2020-10-19T04:06:41.052-07:00</published><updated>2020-10-19T04:06:41.052-07:00</updated><title type='text'>Hi, &#xa;&#xa;If x=&amp;quot;Ramachandra&amp;quot;;&#xa;&#xa;In this chara...</title><content type='html'>Hi, &lt;br /&gt;&lt;br /&gt;If x=&amp;quot;Ramachandra&amp;quot;;&lt;br /&gt;&lt;br /&gt;In this character Value, I need to output only &amp;quot;r&amp;quot; and &amp;quot;R&amp;quot; Like x1=&amp;quot;Rr&amp;quot; . &lt;br /&gt;&lt;br /&gt;Do we have any particular function to achieve this ?!&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2218798774076004497'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2218798774076004497'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1603105601052#c2218798774076004497' title=''/><author><name>Harish</name><uri>https://www.blogger.com/profile/08922051305566065828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1126916303"/><gd:extendedProperty name="blogger.displayTime" value="October 19, 2020 at 4:06 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4169264745126518738</id><published>2020-10-19T04:06:38.628-07:00</published><updated>2020-10-19T04:06:38.628-07:00</updated><title type='text'>Hi, &#xa;&#xa;If x=&amp;quot;Ramachandra&amp;quot;;&#xa;&#xa;In this chara...</title><content type='html'>Hi, &lt;br /&gt;&lt;br /&gt;If x=&amp;quot;Ramachandra&amp;quot;;&lt;br /&gt;&lt;br /&gt;In this character Value, I need to output only &amp;quot;r&amp;quot; and &amp;quot;R&amp;quot; Like x1=&amp;quot;Rr&amp;quot; . &lt;br /&gt;&lt;br /&gt;Do we have any particular function to achieve this ?!&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4169264745126518738'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4169264745126518738'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1603105598628#c4169264745126518738' title=''/><author><name>Harish</name><uri>https://www.blogger.com/profile/08922051305566065828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1126916303"/><gd:extendedProperty name="blogger.displayTime" value="October 19, 2020 at 4:06 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1724903781893092287</id><published>2020-08-04T23:51:24.444-07:00</published><updated>2020-08-04T23:51:24.444-07:00</updated><title type='text'>Can we give any other delimiter other than &amp;quot;s...</title><content type='html'>Can we give any other delimiter other than &amp;quot;s&amp;quot;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1724903781893092287'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1724903781893092287'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1596610284444#c1724903781893092287' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2335573522571686629'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/11540057610256724321</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-848127538"/><gd:extendedProperty name="blogger.displayTime" value="August 4, 2020 at 11:51 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2130282626994279647</id><published>2020-06-12T06:33:50.884-07:00</published><updated>2020-06-12T06:33:50.884-07:00</updated><title type='text'>Hello Deepanshu,&#xa;&#xa;data readin;&#xa;input name$15.;&#xa;car...</title><content type='html'>Hello Deepanshu,&lt;br /&gt;&lt;br /&gt;data readin;&lt;br /&gt;input name$15.;&lt;br /&gt;cards;&lt;br /&gt;Trait Jhonson&lt;br /&gt;3+3=6&lt;br /&gt;;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;data out;&lt;br /&gt;set readin;&lt;br /&gt;x = countw(name);&lt;br /&gt;x1 = countw(name,&amp;#39; &amp;#39;);&lt;br /&gt;proc print;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;Output : COUNTW Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this example involving 3+3=6, how x gives 2 as the number of words? Are + or = consider as special characters?&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2130282626994279647'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2130282626994279647'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1591968830884#c2130282626994279647' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/17274826273532109613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-569306545"/><gd:extendedProperty name="blogger.displayTime" value="June 12, 2020 at 6:33 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3610476679604386071</id><published>2019-11-06T07:16:52.356-08:00</published><updated>2019-11-06T07:16:52.356-08:00</updated><title type='text'>how to find second occurrence of a word or letter ...</title><content type='html'>how to find second occurrence of a word or letter in a string.kindly explain</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3610476679604386071'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/3610476679604386071'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1573053412356#c3610476679604386071' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/00718921550016913750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-743779041"/><gd:extendedProperty name="blogger.displayTime" value="November 6, 2019 at 7:16 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8427151435082718465</id><published>2019-07-07T04:16:42.414-07:00</published><updated>2019-07-07T04:16:42.414-07:00</updated><title type='text'>Here &amp;quot;S&amp;quot; acting as delimiter&#xa;So obviousl...</title><content type='html'>Here &amp;quot;S&amp;quot; acting as delimiter&lt;br /&gt;So obviously it will be &lt;br /&gt;Hello &amp;quot;S&amp;quot; A &amp;quot;S&amp;quot; community people&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8427151435082718465'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8427151435082718465'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1562498202414#c8427151435082718465' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/2335573522571686629'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/03900495824189899371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1103354495"/><gd:extendedProperty name="blogger.displayTime" value="July 7, 2019 at 4:16 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8739678965659780450</id><published>2019-06-17T01:01:50.177-07:00</published><updated>2019-06-17T01:01:50.177-07:00</updated><title type='text'>data t2;&#xa;set t;&#xa;a=propcase(a); &#xa;a=tranwrd(a,&amp;#39;b...</title><content type='html'>data t2;&lt;br /&gt;set t;&lt;br /&gt;a=propcase(a); &lt;br /&gt;a=tranwrd(a,&amp;#39;bc)&amp;#39;,&amp;#39;BC)&amp;#39;);&lt;br /&gt;run;&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8739678965659780450'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/8739678965659780450'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1560758510177#c8739678965659780450' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/7173221898045964527'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/15337373540936113180</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2112836406"/><gd:extendedProperty name="blogger.displayTime" value="June 17, 2019 at 1:01 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4638795924318395466</id><published>2019-06-17T00:32:20.472-07:00</published><updated>2019-06-17T00:32:20.472-07:00</updated><title type='text'>in this case the value of x is &amp;quot;12345.0&amp;quot;...</title><content type='html'>in this case the value of x is &amp;quot;12345.0&amp;quot; , so the length is 7.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4638795924318395466'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/4638795924318395466'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1560756740472#c4638795924318395466' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/73016428161290906'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/15337373540936113180</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2112836406"/><gd:extendedProperty name="blogger.displayTime" value="June 17, 2019 at 12:32 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6946321645832834071</id><published>2019-01-09T02:25:46.520-08:00</published><updated>2019-01-09T02:25:46.520-08:00</updated><title type='text'>data _null_;&#xa;x = 12345;&#xa;cnt = length(strip(put(x,1...</title><content type='html'>data _null_;&lt;br /&gt;x = 12345;&lt;br /&gt;cnt = length(strip(put(x,12.1)));&lt;br /&gt;put cnt=;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;should return 6 but its returning 7,please help&lt;br /&gt;&lt;br /&gt;prev post is incorrect sorry</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/6946321645832834071'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/6946321645832834071'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1547029546520#c6946321645832834071' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/73016428161290906'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/13367425734431308736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1354480620"/><gd:extendedProperty name="blogger.displayTime" value="January 9, 2019 at 2:25 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-73016428161290906</id><published>2019-01-09T02:24:32.318-08:00</published><updated>2019-01-09T02:24:32.318-08:00</updated><title type='text'>data _null_;&#xa;x = 12345.6;&#xa;cnt = length(strip(put(x...</title><content type='html'>data _null_;&lt;br /&gt;x = 12345.6;&lt;br /&gt;cnt = length(strip(put(x,12.)));&lt;br /&gt;put cnt=;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;should return 6 but its returning 7,please help</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/73016428161290906'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/73016428161290906'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1547029472318#c73016428161290906' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/13367425734431308736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1354480620"/><gd:extendedProperty name="blogger.displayTime" value="January 9, 2019 at 2:24 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1444245212998806324</id><published>2018-09-30T02:29:11.362-07:00</published><updated>2018-09-30T02:29:11.362-07:00</updated><title type='text'>Thanks for excellent materials . &#xa;question 1.Left ...</title><content type='html'>Thanks for excellent materials . &lt;br /&gt;question 1.Left function will not remove leading spaces.it will move the content to left and spaces will be moved to right.but your description seems to be wrong. </content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1444245212998806324'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/4605378716995442594/comments/default/1444245212998806324'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2014/12/sas-character-functions.html?showComment=1538299751362#c1444245212998806324' title=''/><author><name>rajesh</name><uri>https://www.blogger.com/profile/04861888176154144501</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2014/12/sas-character-functions.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-4605378716995442594' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/4605378716995442594' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1221672669"/><gd:extendedProperty name="blogger.displayTime" value="September 30, 2018 at 2:29 AM"/></entry></feed>