No the STmi.s_mi = "cv"; does not work. There is no error reported by using this format but the outcome is NULL. str_cpy works well when I work outside a structure. In this case it will not work because of the type. And I don't know how to code it so that it will accept the correct type STRING,