getString for C