[TRAFODION-2675] Fix for seabase/TEST010 failure
[TRAFODION-2675] Fix for seabase/TEST010 failure

When extracting text, don't include any NUL (0) bytes in the result.

mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion