<?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 sting operations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989935#M953261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to add extra space for a variable which is having already data in it dynamically...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex: if var1 contains 'asfsd' now at runtime i want to increase to increase the length so that some extra space is added at the end with the specified length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for length = 10&lt;/P&gt;&lt;P&gt;my result should b1 var1 = 'asfsd     '&lt;/P&gt;&lt;P&gt;so at the last five space is added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achieve this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 04:32:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T04:32:03Z</dc:date>
    <item>
      <title>sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989935#M953261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to add extra space for a variable which is having already data in it dynamically...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex: if var1 contains 'asfsd' now at runtime i want to increase to increase the length so that some extra space is added at the end with the specified length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for length = 10&lt;/P&gt;&lt;P&gt;my result should b1 var1 = 'asfsd     '&lt;/P&gt;&lt;P&gt;so at the last five space is added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achieve this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 04:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989935#M953261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T04:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989936#M953262</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 : str(10) type c,&lt;/P&gt;&lt;P&gt;         str(11) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str = 'hello'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate str ' ' into str1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 04:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989936#M953262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T04:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989937#M953263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;  U can try using the Shift command&lt;/P&gt;&lt;P&gt;  DATA: A1(10) TYPE C VALUE 'ABCDEFGHIJ', &lt;/P&gt;&lt;P&gt;            A2     TYPE STRING, &lt;/P&gt;&lt;P&gt;           FIVE       TYPE I  VALUE 5. &lt;/P&gt;&lt;P&gt;A2 = A1. &lt;/P&gt;&lt;P&gt;SHIFT ALPHA1 BY FIVE PLACES. &lt;/P&gt;&lt;P&gt;SHIFT ALPHA2 RIGHT BY 2 PLACES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now A1 now has the contents 'FGHIJ     '&lt;/P&gt;&lt;P&gt;and       A2 will have  contents '  ABCDEFGHIJ'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads,&lt;/P&gt;&lt;P&gt;Kalyan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 04:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989937#M953263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T04:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989938#M953264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;u can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;len = strlen( var1 ).

while len le 10.
  concatenate var1 ' ' into var1.
add 1 to len.
endwhile.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will help u in adding any no of spaces at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 05:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989938#M953264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T05:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989939#M953265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len = strlen( var1 ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;rem_len = 10 - len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do rem_len times.&lt;/P&gt;&lt;P&gt;  concatenate var1 SPACE into var1.&lt;/P&gt;&lt;P&gt; rem_len = rem_len = 1.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 05:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989939#M953265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T05:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989940#M953266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;concatenation or shift does not give correct result.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = 'abcd'.&lt;/P&gt;&lt;P&gt;var2 = 'efgh'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write var1 var2.... o/p: abcdefgh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now at runtime i want to increase the length of var1 to 8 so that it has to consider the remaining 4 characters as spaces and now this space need to be concatenated and displayed along with data...(normally any extra space wont get displayed- but here i need display of this extra space)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so finally o/p should :::: abcd    efgh not abcdefgh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989940#M953266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: sting operations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989941#M953267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;               Concatenate the 2 variables in 3 variable of type string using space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var1 = 'abc'&lt;/P&gt;&lt;P&gt;Var2 = 'def'&lt;/P&gt;&lt;P&gt;Var3 Type String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate Var1 Var2 int oVar3 seperated by Sapce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write : Var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your o/p will be: abc def.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points  if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jitendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sting-operations/m-p/3989941#M953267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:45:00Z</dc:date>
    </item>
  </channel>
</rss>

