Generic approach for dealing with that nasty Firebird habit of appending spaces to (tec=EU) varchar casted values