F freak Member Jan 19, 2017 #1 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.
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.
F freak Member Jan 19, 2017 #2 I figured it out... Code: def var s as char init "" no-undo s="hello" + chr(0) + "world". s=replace(s,"~000"," "). display s.
I figured it out... Code: def var s as char init "" no-undo s="hello" + chr(0) + "world". s=replace(s,"~000"," "). display s.