[DUG] formatting a string for HTML

Conor Boyd Conor.Boyd at trimble.co.nz
Wed Jul 28 11:55:24 NZST 2010


I use the StrHtmlEncode method in the Indy IdStrings.pas unit.

It's pretty basic, as you will see. ;-)

HTH,

Conor 

-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Alister Christie

Is there a nice easy function to convert a delphi string to one that is
suitable for rendering in a browser (converting "&" to "&"  etc...).



More information about the Delphi mailing list