Community
Participate
Working Groups
library tester function testCharacterLen() data string = "This is some random data"; size1, size2 int = -33; size1 = strLib.characterLen(data); Syslib.writeStdout(" size 1 " + size1); data += " "; size2 = strlib.characterLen(data); Syslib.writeStdout(" size 2 " + size2); if (size1 == size2) syslib.writestdout(" size1 == size2"); else syslib.writestdout(" size1 != size2 -- blanks are counted"); end end end
Part of this is because I haven't yet done but 354981, the enhancement to implement a StrLib like the one in RBD. We have a new StrLib in package eglx.lang, and soon there will also be one for RBD compatibility in eglx.rbd. I plan to add eglx.rbd.StrLib today. But it also looks like something is wrong with the imports in the generated code, so this isn't exactly a duplicate of 354981.
Fixed along with bug 354981 - Generate eglx.rbd.StrLib.
I will verify this once validation defect 355499 has been resolved
Verified with build 201109191052
Closing this defect.