fast-html-parser
fast-html-parser copied to clipboard
prefix helper funcs with some str
E.g. "html_" prefix
function IsTag(TagType: string; Tag: string): boolean; function IsCloseTag(TagType: string; Tag: string): boolean;
->
function html_IsTag(TagType: string; Tag: string): boolean; function html_IsCloseTag(TagType: string; Tag: string): boolean;
These too
{ most commonly used }
function GetVal(const tag, attribname_ci: string): string;
function GetTagName(const Tag: string): string;
function GetUpTagName(const tag: string): string;
{ less commonly used, but useful }
function GetNameValPair(const tag, attribname_ci: string): string;
function GetValFromNameVal(const namevalpair: string): string;
{ rarely needed nAmE= case sensitivity }
function GetNameValPair_cs(const tag, attribname: string): string;
{ old code with bugs from James }
function GetVal_JAMES(const tag, attribname_ci: string): string;
function GetNameValPair_JAMES(const tag, attribname_ci: string): string;
{ other utilities }
function CopyBuffer(StartIndex: PChar; Len: integer): string;
function Ucase(s: string): string;