Added tg_set_string()