in reply to Re: Identifying Overlapping Area in a Set of Strings
in thread Identifying Overlapping Area in a Set of Strings

Hi,
it doesn't seem that @$nsub is the set of all substrings of the given string.
Yes you are right. They may or may not be the complete set of substrings.
which suggests that order does matter, so that my guess is that you really have "a list of substrings of a given string".
Again you are right!. They are already "ordered", that's why the set is an array.
Regards,
Edward
  • Comment on Re^2: Identifying Overlapping Area in a Set of Strings

Replies are listed 'Best First'.
Re^3: Identifying Overlapping Area in a Set of Strings
by blazar (Canon) on Jul 29, 2005 at 09:16 UTC
    Incidentally this is why the computer-theoretic concept of array is not the most appropriate correspondent of the mathematical concept of set.