Srikanth Bemineni wrote: > I want to know why an indexof() of an empty substring on a > string gives me 0. Every string begins and ends with an empty string, and there is an empty string between each pair of adjacent characters. So an empty string can be found anywhere you look for it. -- Andy Goth <amgoth at link.com>