<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - To Find a Character in HBufC8 - Comments</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8</link>
 <description>Comments for &quot;To Find a Character in HBufC8&quot;</description>
 <language>en</language>
<item>
 <title>Re: To Find a Character in HBufC8</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8#comment-41876</link>
 <description>&lt;p&gt;1. What does OpaqueData() returns? If it is returning a descriptor why you want to make a copy of that?&lt;br /&gt;
2. The way you are calling find is wrong. You are calling as *opaquedata.Find but opaquedata is a pointer. So you should be calling opaquedata-&gt;Find.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Sri&lt;/p&gt;</description>
 <pubDate>Fri, 28 Sep 2007 05:58:40 +0200</pubDate>
 <dc:creator>srikanth</dc:creator>
 <guid isPermaLink="false">comment 41876 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: To Find a Character in HBufC8</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8#comment-41871</link>
 <description>&lt;p&gt;You need to make it a _LIT8&lt;/p&gt;</description>
 <pubDate>Thu, 27 Sep 2007 21:13:22 +0200</pubDate>
 <dc:creator>Fructose</dc:creator>
 <guid isPermaLink="false">comment 41871 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: To Find a Character in HBufC8</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8#comment-41870</link>
 <description>&lt;p&gt;The Type of the substring is Lieral value.&lt;/p&gt;

&lt;p&gt;e.g. _LIT(Substring, &quot; &lt;f&gt;&quot; );&lt;br /&gt;
can u please tell the code snippet&lt;/p&gt;</description>
 <pubDate>Thu, 27 Sep 2007 20:52:46 +0200</pubDate>
 <dc:creator>rajkumar2781976</dc:creator>
 <guid isPermaLink="false">comment 41870 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: To Find a Character in HBufC8</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8#comment-41869</link>
 <description>&lt;p&gt;What is type of substring? it should be TDesC if you use Find().&lt;/p&gt;</description>
 <pubDate>Thu, 27 Sep 2007 20:49:54 +0200</pubDate>
 <dc:creator>learning</dc:creator>
 <guid isPermaLink="false">comment 41869 at http://www.newlc.com</guid>
</item>
<item>
 <title>To Find a Character in HBufC8</title>
 <link>http://www.newlc.com/en/forum/find-character-hbufc8</link>
 <description>&lt;p&gt;&lt;br /&gt;
Hi all,&lt;/p&gt;

&lt;p&gt;  I  am using HBufC8 in the following code snippet:&lt;br /&gt;
	HBufC8 *opaquedata =(Array[i]-&gt;OpaqueData()).AllocL();&lt;br /&gt;
where Array[i]-&gt;OpaqueData() is of type TDesC8.&lt;br /&gt;
Now i want to find the substring in this. How can I do that. &lt;/p&gt;

&lt;p&gt;if I use *opaquedata.Find(substring), It is giving compilation errors. How do I find the substring in HBufC8&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/find-character-hbufc8&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/find-character-hbufc8#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Thu, 27 Sep 2007 20:32:27 +0200</pubDate>
 <dc:creator>rajkumar2781976</dc:creator>
 <guid isPermaLink="false">19105 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
