UDF library of string metrics for MySQL 5