Returns the String with all specified leading & trailing characters removed.Unit
QESBPCSConvert
Declaration
Function StripChStr(const S: string; const Ch: Char): string;
Description
Also See: StripLChStr, StripTChStr, StripChFromStr
| S | the String from which the characters are to be removed. | 
| Ch | the character that is to be stripped off. | 
| Chars | alternatively can pass a set of Characters to remove. | 
Category
Extra String Handling Routines
Implementation
 
  | function StripChStr (const S: string; const Ch: Char): string;
begin
     Result := StripTChStr (StripLChStr (S, Ch), Ch);
End; | 
Declaration
Function StripChStr(const S: string; const Chars: TESBCharSet): string;Implementation
 
  | function StripChStr (const S: string; const Chars: TESBCharSet): string;
begin
     Result := StripTChStr (StripLChStr (S, Chars), Chars);
End; | 
| HTML generated by Time2HELP | 
http://www.time2help.com