Remove leading and trailing spaces from a string:
SELECT Trim(" SQL Tutorial ") AS TrimmedString;
Try it Yourself »
The Trim() function removes both leading and trailing spaces from a string.
Trim(
string)
Parameter | Description |
---|---|
string | Required. The string to strip both leading and trailing spaces from |
Works in: | From Access 2000 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!