pchar -> string : strpas
string -> pchar : strpcopy我定义了一个pchar类型的变量a,长度为10,在实际使用时使用的长度不一定为10为,而又想得到实际使用的长度,用strpas好像只能将10位全部读出,如何解决呢