$ 0 0 I found that, in SQL Server 2005, this function also removes ending spaces from the given character_expression.