Re: how do i split a string
From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Sat, 18 Oct 2008 18:11:04 +0200
Message-ID: <48FA0A98.7050201@gmail.com>
Date: Sat, 18 Oct 2008 18:11:04 +0200
Message-ID: <48FA0A98.7050201@gmail.com>
Bob Jones schrieb:
> Ok, I just wasn't sure why you were providing an alternative solution to a
> different problem.
You see - to find *all* occurences of repeated characters within given string (meant - to find corresponding position and length) in my opinion is not much different, it is just a more general case of what was asked - to find *first two* occurences. Do you think, it isn't worth to look for alternative solutions for more general classes of problems, if a solution for a particular case is known?
Best regards
Maxim Received on Sat Oct 18 2008 - 11:11:04 CDT