单项选择题

要去掉字符串左右空格的函数是()。 

A. Ltrim()
B. Trim()
C. Rtrim()
D. Mid()