Please try the updated code in the node above.
The problem was I got over-enthusiastic with my big number to disable the wrapping. 1e10 in a integer context (the length field of substr) was translated to -1. Hence one digit was being chopped of the end of the sequences.
At least that was the only problem I found here when I tested it.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|