Changed return value of getString() to "\0" if empty