On 10.08.2010 03:08, bearophile wrote: > Jonathan M Davis: >> Why, because it should be >> >> if(delimiter is null) >> >> >> or just >> >> if(!delimiter) > > if (delimiter.length == 0) > Or > if (!delimiter.length) > > Bye, > bearophile Isn't that very different things? You cannot use .length if delimiter is null.