Moved string functions to src/string.c