ExtractBefore

<< Click to Display Table of Contents >>

Navigation:  Classes > TString > Methods >

ExtractBefore

SIGNATURE=IW.Common.Strings.TString.ExtractBefore@string@string

 

ETYPE=Method

 

Declaration:

Delphi:

public class function ExtractBefore(const s: string; const substr: string): string;

C++:

public: __fastcall String ExtractBefore(const String s, const String substr);

 

Description: Remove every occurrence of #13 and #10. MUCH faster than 2 calls to StringReplace