| Summary: | substring operator [: works when fromIndex == toIndex | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Matt Heitz <mheitz> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mheitz |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I've updated the comments. Replaced >= with >. verified Closing this defect. |
/** * {@Operation [:} Returns the substring starting at fromIndex and ending at toIndex. * @throws InvalidIndexException if either index is out of range, or fromIndex is >= toIndex. */ static function $Substr(value EglString in, fromIndex EglInt in, toIndex EglInt in) returns(EglString) {@Operation{"[:"}}; EglString.egl documentation needs to be updated. The operator will correctly return the character a the index when the same index is specified as the fromIndex and the toIndex. EDT Java Gen currently works this way