For macOS 10.10 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 3m 10s ago
Remove iTunes tracks disassociated from files
downloaded 3m 26s ago
Exports and then re-imports selected tracks' artwork
downloaded 7m 29s ago
List tracks common or exclusive to two playlists
downloaded 39m 8s ago
Finds and displays any empty folders in the iTunes Media folder
downloaded 40m 5s ago
Re-associate batch of dead tracks with files from selected folder
downloaded 49m 26s ago
Title Cap various track tags, featuring editable exceptions lists