Type: Scalar function

This function removes whitespace from the beginning of a string and should in most cases be used instead of the native T-SQL function LTRIM that only trims the space character.

See documentation of function ADMIN_RTrim for the list of characters considered whitespace.

Return value: nvarchar(max)

The trimmed string.


@Str mandatory nvarchar(max)
The string to be trimmed.