RemoveLeadingChars¶
Remove any leading characters in a set from a string.
Declaration¶
Source position: strutils.pp line 275
procedure RemoveLeadingChars(var S: AnsiString; const CSet: TSysCharSet);
procedure RemoveLeadingChars(var S: UnicodeString;
const CSet: TSysCharSet);
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| TrimLeft | Trim whitespace from the beginning of a string. |
| RemoveTrailingChars | Remove any trailing characters in a set from a string. |
| RemovePadChars | Remove any trailing or leading characters in a set from a string. |
| TrimLeftSet | Remove any leading characters in a set from a string and returns the result. |