Hi all
Need function to remove a SPACE from a NULL terminated string returned by an API function call
Thanks
Joe
Need function to remove a SPACE from a NULL terminated str
Re: Need function to remove a SPACE from a NULL terminated
I think what you are wanting is to remove the null terminator and then trim.
Code: Select all
cString := Trim(Strtran(cString,Chr(0),''))
The eXpress train is coming - and it has more cars.