<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ABAP Tutorials &#187; literals</title>
	<atom:link href="http://www.abap-tutorials.com/tag/literals/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abap-tutorials.com</link>
	<description>ABAP Tutorials, Guides, Training, Manuals</description>
	<lastBuildDate>Thu, 17 Nov 2011 07:43:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Difference between &#8220;&#8216;&#8221; and &#8220;`&#8221; in ABAP</title>
		<link>http://www.abap-tutorials.com/2009/07/26/difference-between-and-in-abap/</link>
		<comments>http://www.abap-tutorials.com/2009/07/26/difference-between-and-in-abap/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 04:49:43 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[literal]]></category>
		<category><![CDATA[literals]]></category>
		<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://naveenvishal.wordpress.com/?p=477</guid>
		<description><![CDATA[A basic difference: still I find that most of the programmer hardly uses string literal. String literal is generally a forgotten case. A character sequence within single quote characters (&#8216;) is a char literal, while within (`) is a string literal. That is especially important for trailing spaces: a string literal preserves the trailing space while a char [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong>A basic difference</strong>: still I find that most of the programmer hardly uses string literal. String literal is generally a forgotten case.</p>
<p style="text-align:justify;">A character sequence within single quote characters (&#8216;) is a char literal, while within (`) is a string literal. That is especially important for trailing spaces: a string literal preserves the trailing space while a char literal ignores them.</p>
<p style="text-align:justify;">This can be best understood by the following example:<br />
<span id="more-477"></span></p>
<div style="text-align:justify;border-width:1px;">
<div>
<pre style="text-align:justify;">DATA v_char TYPE c LENGTH 32.
v_char = 'This is a'.
CONCATENATE v_char 'text   ' INTO v_char SEPARATED BY space.
*<span>" v_char would be "</span>This is a text"
CONCATENATE v_char `text   ` INTO v_char SEPARATED BY space.
*<span>" v_char would be "</span>This is a text   "</pre>
</div>
</div>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/17/showing-a-progress-bar-in-abap/' rel='bookmark' title='ABAP Program Showing a progress bar in SAP'>ABAP Program Showing a progress bar in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/09/17/abap-program-to-add-colors-in-alv-grid/' rel='bookmark' title='ABAP Program to add Colors in ALV Grid'>ABAP Program to add Colors in ALV Grid</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/05/pritty-report-vs-pritty-printer/' rel='bookmark' title='Pretty Report Vs Pretty Printer in ABAP'>Pretty Report Vs Pretty Printer in ABAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2009/07/26/difference-between-and-in-abap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

