Files
pplus-library/mojo/probes/string-slice.mojo
T
2026-10-06 09:57:04 -04:00

5 lines
120 B
Mojo

# probe: does s[codepoint=a:b] slice by codepoint?
def main():
var s = String("héllo")
print(s[codepoint=1:3])