<?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: substrings in ABAP ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974092#M399375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can take the offset like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say u want the first character of variable v1 you take it as v2 = v1+0(1)&lt;/P&gt;&lt;P&gt;for 3rd character v2 = v1+2(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do f1 on your code and go to the operations on strings. you can get the help there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 16:11:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-15T16:11:47Z</dc:date>
    <item>
      <title>substrings in ABAP ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974091#M399374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to convert a value from a string or a number.&lt;/P&gt;&lt;P&gt;I just want to grab either the first number or the first character&lt;/P&gt;&lt;P&gt;of one variable and assign it to another variable.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this if I'm trying to return just the third character or number in the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where could I have looked this up myself in the documentation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 16:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974091#M399374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T16:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: substrings in ABAP ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974092#M399375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can take the offset like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say u want the first character of variable v1 you take it as v2 = v1+0(1)&lt;/P&gt;&lt;P&gt;for 3rd character v2 = v1+2(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do f1 on your code and go to the operations on strings. you can get the help there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 16:11:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974092#M399375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T16:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: substrings in ABAP ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974093#M399376</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;DATA: V_CHAR8(8) VALUE '12345678'.&lt;/P&gt;&lt;P&gt;DATA: V_CHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_CHAR = V_CHAR8(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 16:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974093#M399376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T16:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: substrings in ABAP ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974094#M399377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be achieved using offset: Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: str(3) type c value 'xyz'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ str+1(2). "Extract two chars starting from position 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output: xy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 16:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substrings-in-abap/m-p/1974094#M399377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T16:12:21Z</dc:date>
    </item>
  </channel>
</rss>

