3 ms·
> 'abcdef'.split(2) == ['ab', 'cd', 'ef'] # not the same as .split("2") Pairwise would give you ['ab', 'bc', 'cd', 'de', 'ef']. It's not a split.
by robertlagrant 5y ago
> 'abcdef'.split(2) == ['ab', 'cd', 'ef'] # not the same as .split("2")
Pairwise would give you ['ab', 'bc', 'cd', 'de', 'ef']. It's not a split.