Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

delphi equivalent of C# dynamic HTML expression

2 views
Skip to first unread message

VT Venkatesh

unread,
Aug 4, 2008, 12:51:47 AM8/4/08
to
What would be the equivalent of
*************************************
sbPager.Append ("\" alt=\"First Page\" title=\"First
Page\">|&lt;</a>&nbsp;");
*************************************

I specially want the equivalent of \"
( sbPager is a stringbuilder type )
venkatesh

Nick Crisp

unread,
Aug 4, 2008, 8:39:35 AM8/4/08
to
Hi Venkatesh

The \" is because C# uses " as a string terminator, so you need to put \" fi
you want " in your string.

In Delphi you can just do

sb.append(' "alt="First Page" title="First Page">|&lt;</a>&nbsp;');

Nick

"VT Venkatesh" <ve...@vsnl.com> wrote in message
news:489689a3$1...@newsgroups.borland.com...

Marc Rohloff [TeamB]

unread,
Aug 4, 2008, 8:45:39 AM8/4/08
to
On Mon, 04 Aug 2008 10:21:47 +0530, VT Venkatesh wrote:

> What would be the equivalent of
> *************************************
> sbPager.Append ("\" alt=\"First Page\" title=\"First
> Page\">|&lt;</a>&nbsp;");
> *************************************

Wasn't this answered in your thread 'Trim function in Delphi' a week
ago?

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com

0 new messages