Hello Lutz!
Function 'explode' returns strange results when exploding strings and using numbers bigger than the length of a string:
> (explode "abc" 1)
("a" "b" "c")
> (explode "abc" 2)
("ab" "c")
> (explode "abc" 3)
("abc")
> (explode "abc" 4)
("abc 00")
> (explode "abc" 5)
("abc 00 00")
> (explode "abc" 6)
("abc 00 00 02")
> (explode "abc" 7)
("abc 00 00 02=")
> (explode "abc" 8)
("abc 00 00 02= 00")
> (explode "abc" 9)
CRASH
(explode "abc" 10)
("abc 00k 00= 00130 00")
Exploding lists works ok.
Fanda
Quote
using numbers bigger than the length of a string
thanks, I will look into it.
Lutz