<?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: reading string character by character in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976731#M71031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, maybe this problem has already been solved.&lt;/P&gt;&lt;P&gt;But I have a interesting solution for it.&lt;/P&gt;&lt;P&gt;Paste in following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: STR(100)   TYPE  C,&lt;/P&gt;&lt;P&gt;      ITAB TYPE  STANDARD TABLE OF CHAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STR = 'HELLO WORLD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RKD_WORD_WRAP'&lt;/P&gt;&lt;P&gt;     EXPORTING  TEXTLINE = STR&lt;/P&gt;&lt;P&gt;                OUTPUTLEN = 1&lt;/P&gt;&lt;P&gt;     TABLES  OUT_LINES = ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2005 04:48:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-25T04:48:39Z</dc:date>
    <item>
      <title>reading string character by character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976727#M71027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;how can i read a srting character by character. for example if i have a string like srikanth i want to get all the characters like 's' 'r' 'i' 'k' 'a' 'n' 't' 'h' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanku all...&lt;/P&gt;&lt;P&gt;prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 02:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976727#M71027</guid>
      <dc:creator>former_member181959</dc:creator>
      <dc:date>2005-07-25T02:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading string character by character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976728#M71028</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;LOOP.&lt;/P&gt;&lt;P&gt;  IF i &amp;lt; STRLEN( &amp;lt;string&amp;gt; ).&lt;/P&gt;&lt;P&gt;    chr = &amp;lt;string&amp;gt;+i(1).&lt;/P&gt;&lt;P&gt;    i = i+1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrej.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 02:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976728#M71028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T02:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: reading string character by character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976729#M71029</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;You can read it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : len type i,&lt;/P&gt;&lt;P&gt;       a   type c,&lt;/P&gt;&lt;P&gt;       b   type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i = strlen( string ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b = sy-index - 1.&lt;/P&gt;&lt;P&gt;a = string+b(1).&lt;/P&gt;&lt;P&gt;write a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 02:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976729#M71029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T02:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading string character by character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976730#M71030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well depending on you character set you really have to take into account the fact that you might be dealing with a multibyte character set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best bet would be to transform your string into a char[] character array and walk through it. This should hopefully negate the differences between multibyte and single byte character sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 04:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976730#M71030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T04:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: reading string character by character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976731#M71031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, maybe this problem has already been solved.&lt;/P&gt;&lt;P&gt;But I have a interesting solution for it.&lt;/P&gt;&lt;P&gt;Paste in following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: STR(100)   TYPE  C,&lt;/P&gt;&lt;P&gt;      ITAB TYPE  STANDARD TABLE OF CHAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STR = 'HELLO WORLD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RKD_WORD_WRAP'&lt;/P&gt;&lt;P&gt;     EXPORTING  TEXTLINE = STR&lt;/P&gt;&lt;P&gt;                OUTPUTLEN = 1&lt;/P&gt;&lt;P&gt;     TABLES  OUT_LINES = ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 04:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-string-character-by-character/m-p/976731#M71031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T04:48:39Z</dc:date>
    </item>
  </channel>
</rss>

