<?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: replace hypen with space. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458004#M551260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v1(1) type c value '-'.&lt;/P&gt;&lt;P&gt;replace '-' in v1 with ' '.&lt;/P&gt;&lt;P&gt;write:/ 'v1:-',v1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kiran K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2007 05:55:36 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2007-06-22T05:55:36Z</dc:date>
    <item>
      <title>replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458001#M551257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to replace hyper with space. Is the below sytax correct. I am not getting space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '-' IN str WITH SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input : abc-xyz  output : abcxyz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a space between abc and xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 05:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458001#M551257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T05:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458002#M551258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE &amp;lt;str1&amp;gt; WITH &amp;lt;str2&amp;gt; INTO &amp;lt;c&amp;gt; [LENGTH &amp;lt;l&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T(10) VALUE 'abcdefghij',&lt;/P&gt;&lt;P&gt;STRING LIKE T,&lt;/P&gt;&lt;P&gt;STR1(4) VALUE 'cdef',&lt;/P&gt;&lt;P&gt;STR2(4) VALUE 'klmn',&lt;/P&gt;&lt;P&gt;STR3(2) VALUE 'kl',&lt;/P&gt;&lt;P&gt;STR4(6) VALUE 'klmnop',&lt;/P&gt;&lt;P&gt;LEN TYPE I VALUE 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRING = T.&lt;/P&gt;&lt;P&gt;WRITE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE STR1 WITH STR2 INTO STRING.&lt;/P&gt;&lt;P&gt;WRITE / STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 05:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458002#M551258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T05:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458003#M551259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think replace will not wrk in ur case as u need to insert a space in place of hyphen.&lt;/P&gt;&lt;P&gt;What u can do is use the following piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : str TYPE string,&lt;/P&gt;&lt;P&gt;a type string,&lt;/P&gt;&lt;P&gt;b type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str = 'abc-xyz'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT str AT '-' INTO a b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE a b INTO str SEPARATED BY space.&lt;/P&gt;&lt;P&gt;WRITE : / str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 05:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458003#M551259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T05:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458004#M551260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v1(1) type c value '-'.&lt;/P&gt;&lt;P&gt;replace '-' in v1 with ' '.&lt;/P&gt;&lt;P&gt;write:/ 'v1:-',v1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kiran K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 05:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458004#M551260</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-06-22T05:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458005#M551261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: str(20) type c.&lt;/P&gt;&lt;P&gt;str = 'hari,krishna,rao'.&lt;/P&gt;&lt;P&gt;TRANSLATE STR &amp;lt;b&amp;gt;USING ', '.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;write str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that in &amp;lt;u&amp;gt;USING after comma....there is a SPACE.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Hari krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 06:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458005#M551261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T06:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: replace hypen with space.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458006#M551262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested,translate will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: str(20) type c.&lt;/P&gt;&lt;P&gt;str = 'abc-xyz'.&lt;/P&gt;&lt;P&gt;TRANSLATE STR USING '- '.&lt;/P&gt;&lt;P&gt;write str.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 06:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-hypen-with-space/m-p/2458006#M551262</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-22T06:41:24Z</dc:date>
    </item>
  </channel>
</rss>

