mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
STRSUB and CHARSUB allow zero or negative positions
These are offsets from the end of the string, as if the STRLEN or CHARLEN respectively were added to the position. Fixes #812
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
A
|
||||
B
|
||||
C
|
||||
A
|
||||
B
|
||||
C
|
||||
AB
|
||||
BC
|
||||
BC
|
||||
|
||||
Reference in New Issue
Block a user