<?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: working with single quotes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860138#M363201</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;This is how you do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants:  c_comma    type c value ''''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in you case you would add the above to your data declarations and then search your field for c_comma and use replace c_comma with '' into &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 00:40:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T00:40:34Z</dc:date>
    <item>
      <title>working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860136#M363199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check whether a variable has a single quote or double quote. If it has I have to remove them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   "Don't".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case it has both single and double quote. I want to change this to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is any escape character for ' (single quote) please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860136#M363199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T00:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860137#M363200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The escape character for Single Quote...Is another Single Quote -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;''This is single quoted''&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860137#M363200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T00:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860138#M363201</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;This is how you do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants:  c_comma    type c value ''''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in you case you would add the above to your data declarations and then search your field for c_comma and use replace c_comma with '' into &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860138#M363201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T00:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860139#M363202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or........... in new releases,  you can use the backwards quote as the wrapper.  The syntax checker can then see the single quote (').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: str type string.

str = `"Don't"`.
translate str using `" `.
TRANSLATE str using `' `.
CONDENSE str NO-GAPS.
write:/ str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860139#M363202</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-30T00:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860140#M363203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is cool.  Which release does this apply to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860140#M363203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T00:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860141#M363204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that it works in Netweaver 2004s,  I think it may work in NW2004 as well.  I know for a fact that this does not work in 46c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, it is cool.  I have been so used to using multiple quotes to represent single quotes, and it does get confusing, so this syntax is really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 01:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860141#M363204</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-30T01:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860142#M363205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks for the tip Rich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for me on 4.7 &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 03:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860142#M363205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T03:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: working with single quotes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860143#M363206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich. It works great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 15:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-with-single-quotes/m-p/1860143#M363206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T15:14:50Z</dc:date>
    </item>
  </channel>
</rss>

