<?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 space padding between character in a word ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350521#M81481</link>
    <description>&lt;P&gt;You might need to modify this to deal with any specific requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data _null_;
    word = 'Mumbai';
    word_pad = strip(prxchange('s/(\w)/\1 /i', -1, word));
    put _all_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 17 Apr 2017 14:35:09 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-04-17T14:35:09Z</dc:date>
    <item>
      <title>How to space padding between character in a word ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350513#M81480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to pad spaces between a word&amp;nbsp;&lt;BR /&gt;Ex : Mumbai &amp;nbsp;should be converted to = 'M u m b a i'&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 14:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350513#M81480</guid>
      <dc:creator>BPS</dc:creator>
      <dc:date>2017-04-17T14:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to space padding between character in a word ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350521#M81481</link>
      <description>&lt;P&gt;You might need to modify this to deal with any specific requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data _null_;
    word = 'Mumbai';
    word_pad = strip(prxchange('s/(\w)/\1 /i', -1, word));
    put _all_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Apr 2017 14:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350521#M81481</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-04-17T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to space padding between character in a word ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350535#M81487</link>
      <description>&lt;P&gt;If you actually insert space characters you need to make sure that the length of the variable will hold all of the inserted spaces. To modify an existing data set variable that would involve a LENGTH statement before the SET statement to overwrite the characteristic of the variable brought in with the SET statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this for a specific word or list of words or every value of a variable?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 15:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-space-padding-between-character-in-a-word/m-p/350535#M81487</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-17T15:10:09Z</dc:date>
    </item>
  </channel>
</rss>

