Files
l2/tests/str.sl

25 lines
432 B
Plaintext
Raw Normal View History

import stdlib.sl
word main
"ggggggggh" "ggggggggh"
strcmp
puti cr
"ggggggggh" "ggggggggd"
strcmp
puti cr
"hello world hello world hello " "world hello world hello world"
strconcat
2dup
puts
free
"hello world hello" "world" splitby
for puts end
"hello world hello world" "world" splitby
for puts end
"hello world hello world hello" "l" splitby
for puts end
end