mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Add STRSTARTS and STRENDS functions (#2159)
This commit is contained in:
1 parent
03c71ced93
commit
548a11c3ef
4 files changed
+26
-1
No files matched your search
@@ -0,0 +1,13 @@
|
||||
|
||||
assert STRSTARTS("string", "str")
|
||||
assert STRENDS("string", "ing")
|
||||
assert !STRSTARTS("string", "stringing")
|
||||
assert !STRENDS("string", "bowstring")
|
||||
assert STRSTARTS("string", "string")
|
||||
assert STRENDS("string", "string")
|
||||
assert !STRSTARTS("", "prefix")
|
||||
assert !STRENDS("", "suffix")
|
||||
assert STRSTARTS("string", "")
|
||||
assert STRENDS("string", "")
|
||||
assert STRSTARTS("", "")
|
||||
assert STRENDS("", "")
|
||||
Reference in new issue
Block a user