The string-formatting function StrLib.clip deletes trailing blank spaces and nulls from the end of returned strings and can be used to test for NULL.
StrLib.clip(text STRING in) returns (result STRING)
myString String = ""; // indicates that the variable is NULL if (StrLib.clip(myString) is NULL) ; end
Related reference
EGL library StrLib