# New range operator \`..+\`

**URL:** <https://discuss.kotlinlang.org/t/new-range-operator/27106>\
**Category:** Language Design\
**Created:** [July 19, 2023, 12:00am UTC](https://discuss.kotlinlang.org/t/new-range-operator/27106 "2023-07-19T00:00:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alextretyak](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@alextretyak](https://discuss.kotlinlang.org/u/alextretyak)\
**Post date:** [July 19, 2023, 12:00am UTC](https://discuss.kotlinlang.org/t/new-range-operator/27106/1 "2023-07-19T00:00:34Z")

</div>

I propose to add support for `start ..+ length` expression, which is equivalent to `start ..< start + length` (e.g. `100..+5` is the same as `100..<105`).

This is especially useful for slicing when `start` expression is quite long.

Also, I do not think `start ..+ length` needs a special separate range type, i.e. it can be just of type `OpenEndRange` with `endExclusive` set to `start + length`.
