Show all Hide all

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.

Type: Scalar function
Area of use: General use

Return value: nvarchar(max)

The trimmed string.


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