[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

EncodeLesserAndGreaterThan

Converts instance of the reserved characters.

Declaration

Source position: laz2_dom.pas line 854

function EncodeLesserAndGreaterThan(

  const s: string

):string;

Arguments

s

  

Values to convert in the routine.

Function result

Converted values from the function.

Description

EncodeLesserAndGreaterThan is a String function used to convert instances of the reserved characters in s. EncodeLesserAndGreaterThan is similar to StrToXMLValue, but handles only the '<' and '>' characters, or NULL (Decimal 0) byte values in the string. No actions are performed in the routine when s is an empty string (''). The return value reflects the string value after conversion.

See also

StrToXMLValue

  

Converts a string to it representation as XML character data.


Version 3.2 Generated 2024-02-25 Home