add the string function to string-util.c (make up the mistake of last commit)