/* Accessing the Text Attributes text property font property textColor property textAlignment property lineBreakMode property enabled property Sizing the Label’s Text adjustsFontSizeToFitWidth property baselineAdjustment property minimumFontS
procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin IF (<frxDB_cdsresult."res_CHR">='↓') THEN BEGIN frxdb_cdsresultres_chr.FONT.COLOR:=CLblue; frxdb_cdsresultres_dec.FONT.COLOR:=CLblue; frxdb_cdsresultres_dec.FONT.STYLE:=; END
Given a string s and a list of strings dict, you need to add a closed pair of bold tag <b> and </b> to wrap the substrings in s that exist in dict. If two such substrings overlap, you need to wrap them together by only one pair of closed bold