Add STRSTARTS and STRENDS functions (#2159)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-26 19:04:14 +02:00
1 parent 03c71ced93
commit 548a11c3ef
4 files changed
+26 -1

No files matched your search

+13
View File
@@ -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("", "")