We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914b6a1 commit c5d4295Copy full SHA for c5d4295
xpp/modules/ops/stdlib/strman.py
@@ -27,7 +27,7 @@ def chr_(ctx) -> None:
27
if (index > vl) or ((stop is not None) and (stop > vl)):
28
raise InvalidArgument("chr: index or stop is larger then string size!")
29
30
- res = val[index] if stop is None else val[:stop][index:]
+ res = val[index] if stop is None else val[:(stop + 1)][(index):]
31
if aout:
32
aout[0].set(res)
33
0 commit comments