Separate handling-string function to string-uitl.c