Request: $trim() scripting function


#1

Although I know there's a way to do it with the current scripting functions, it would be really nice to have a function $trim(string) that would remove leading/trailing blanks from the string. I have a number of improperly tagged files with fields containing 'foobar ' and it would be really nice to have a simple cript function that could use them. It is also useful if you are using the substring functions, which can result in leading/trailing blanks from time to time.

mp3tag is an amazing product. Keep up the good work!!!!


#2

Added a $trim(x) functions to the latest Development Build. The optional second parameter specifies the character(s) to trim :slight_smile: