Yea, sorry guys the problem was not with the null char at all i just thought it is.

thanks again for the replay's !