dap4/d4core/src/main/java/dap4/core/util/Escape.java
static public String
    cleanString(String s)
    {
        int index = s.indexOf((char) 0);
        if(index >= 0)
            s = s.substring(0, index);
        return s;
    }
static public String
    cleanString(String s)
    {
        int index = s.indexOf((char) 0);
        if(index >= 0)
            s = s.substring(0, index);
        return s;
    }
Clean up a string: currently means:
1. strip off everything after the first nul character

@param s string to clean
@return cleaned string