bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access Trim() Function

Concept visual

MS Access Trim() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Remove leading and trailing spaces from a string:

SELECT Trim("    SQL Tutorial    ") AS TrimmedString;

Definition and Usage

The Trim() function removes both leading and trailing spaces from a string.

Syntax

Trim(

string )

Parameter Values

Parameter

Description string

Required. The string to strip both leading and trailing spaces from

Technical Details

Works in:

From Access 2000

Previous

❮ MS Access Functions

Next

Previous

MS Access StrReverse() Function

Next

MS Access UCase() Function