RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TrimLeft Function

Trims leading spaces and control characters from a string.

Pascal
function TrimLeft(const S: string): string; overload;
function TrimLeft(const S: WideString): WideString; overload;
C++
AnsiString TrimLeft(const AnsiString S);
BSTR TrimLeft(const BSTR S);

SysUtils

TrimLeft returns a copy of the string S with leading spaces and control characters removed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!