complete read string function , tomorrow continue~~