Topic Path: Symbol Reference > Functions > StrHtmlEncode Function
ContentsIndexHome
PreviousUpNext
StrHtmlEncode Function

Converts a string containing reserved HTML characters to a string using HTML Entity references.

File
function StrHtmlEncode(
    const AStr: String
): String;
Parameters 
Description 
AStr 
Values to be converted to their representation as an HTML Entity reference. 

String - String containing HTML Entity references.

StrHtmlEncode is a String function that converts the string AStr containing reserved HTML characters to a string using HTML Entity references. StrHtmlEncode will convert the following reserved HTML characters to the following representations: 

 

& 
< 
> 
" 

 

Use StrHTMLDecode to convert a string containing HTML Entity references to its string representation.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.