Community
Participate
Working Groups
Use EUNIT to run: library getTokenCount commandLine string = "CALL PROG1 arg1,arg2"; delimiters string = " ,"; // space and comma delimiters myInt int; function getTokenCountTest(){@Test} myInt = StringLib.getTokenCount(commandLine, delimiters); LogResult.assertDecimalEqual("getTokenCount", 4, myInt); end end Returns 0 rather than 4.
Fixed in 20111121 build.
Verified.