trim-labels function

Trim Codes from the Labels of an Item