in reply to Problems with strings

What is the character on i-th position of the original string. where 0<=i<=l.

I would have said this would be substr, except that i (0-based character position index(?)) may equal l (length of string(?)); I don't understand the last bit.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: Problems with strings
by LanX (Saint) on May 20, 2019 at 18:51 UTC
    BWT = Burrows-Wheeler_transform is a way to provide lossless compression by using the redundancy of repeated passages (like syllables in speech)

    My guess is the OP is still trying to defy entropy and to improve the compression of his last problem.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice