For macOS 10.12 and later only. This script will remove any number of extra space characters at the beginning and ending of chosen tags (Name, Artist, Album Artist, Album, Composer, Genre, Grouping, Movement, Work and Show) in the selected tracks.
Select some tracks and launch the script. Checkmarked tags are remembered between launches.
Perhaps Also of Interest...
downloaded 4m 50s ago
View/Edit tags of selected track(s) in single window
downloaded 5m 10s ago
Delete characters from the beginning or ending of selected tracks' name, artist, album, comments, composer, or show tags
downloaded 5m 30s ago
Copy number prefix in Song Name of selected tracks to their track number tag
downloaded 5m 45s ago
Append the track number of selected tracks to Song Name
downloaded 5m 57s ago
Continuously display playlists containing selected/playing track(s)
downloaded 6m 15s ago
Batch merge and/or delete playlists