Deprecate 1-indexed string functions

This commit is contained in:
Rangi42
2025-08-05 16:46:09 -04:00
parent 39f0f9edc0
commit 3a0a4b7f90
21 changed files with 55 additions and 174 deletions

24
test/asm/strslice.out Normal file
View File

@@ -0,0 +1,24 @@
STRSLICE("ABC",0,1): A
STRSLICE("ABC",1,2): B
STRSLICE("ABC",2,3): C
STRSLICE("ABC",-3,-2): A
STRSLICE("ABC",-2,-1): B
STRSLICE("ABC",-1,-0):
STRSLICE("ABC",-1,3): C
STRSLICE("ABC",1): BC
STRSLICE("ABC",-2): BC
STRSLICE("ABC",4):
STRSLICE("ABC",-4): ABC
STRSLICE("ABC",0,2): AB
STRSLICE("ABC",1,3): BC
STRSLICE("ABC",1,31): BC
STRSLICE("ABC",1,300): BC
STRSLICE("ABC",-4,300): ABC
STRSLICE("ABC",3,3):
STRSLICE("ABC",4,4):
STRSLICE("ABC",3,4):
STRSLICE("カタカナ",0,2): カタ
STRSLICE("カタカナ",2,4): カナ
STRSLICE("カタカナ",2,12): カナ
STRSLICE("g̈",0,1): g
STRSLICE("g̈",0,2): g̈