| Summary: | StringLib.getTokenCount returns 0 rather than token count | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in 20111121 build. Verified. |
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.