Sign in Join
FPDoc Onlineexperiment

EncodeLesserAndGreaterThan function

In unit Laz2_DOM

Converts instance of the reserved characters.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.