Remove Nulls From String

freak

Member
How do you remove a null from a string with ancient, obsolete and unsupported 9.1d?

I tried this and it doesn't work...

Code:
def var s as char init "" no-undo

s="hello" + chr(0) + "world".
s=replace(s,chr(0)," ").
display s.
 
Top