The strLib.setBlankTerminator() system function changes a null terminator and any subsequent characters to spaces. strLib.setBlankTerminator() changes a string value returned from a C or C++ program to a character value that can operate correctly in an EGL program.
strLib.setBlankTerminator(target CHAR | DBCHAR | MBCHAR | UNICODE inOut)
// call C function defined in NativeLibrary // name is defined as CHAR(25) get_name(ID, name); strLib.setBlankTerminator(name); // name is now "Freddy Ramirez "
Platform | Issue |
---|---|
JavaScript generation | The function strLib.setBlankTerminator() is not supported. |