Fixed bug when passing length of string (it was speaking rubbish at the end of some strings)