On Wed, 25 Jun 2025 04:43:14 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
> So, if someone wants to retrieve the first or last character, they shouldn't > rely on `getAfterIndex and getBeforeIndex` method respectively, rather use > `getAtIndex` method to get the first and last character with index passed as > 0 and length -1 respectively. > > Right ? That is my understanding. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25941#issuecomment-3005562699