[Overview][Resource strings][Constants][Types][Procedures and functions][Index] | Reference for unit 'StrUtils' (#rtl)

# TrimLeftSet

Remove any leading characters in a set from a string and returns the result

## Declaration

Source position: strutils.pp line 254

`function TrimLeftSet(`
`const S: string;`
`const CSet: TSysCharSet`
`):string;`

## Description

TrimLeftSet performs the same action as RemoveLeadingChars, but returns the resulting string.

## Errors

None.

## See also

TrimLeft |  | Trim whitespace from the beginning of a string.
RemoveLeadingChars |  | Remove any leading characters in a set from 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
TrimSet |  | Remove any leading or trailing characters in a set from a string and returns the result
TrimRightSet |  | Remove any trailing characters in a set from a string and returns the result

Documentation generated on: May 14 2021