Update string.c

Improved addcslashes parameters charlist length control in 256 bytes