From user-return-25219-apmail-commons-user-archive=commons.apache.org@commons.apache.org Wed Oct 27 16:41:46 2010 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 2219 invoked from network); 27 Oct 2010 16:41:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 16:41:13 -0000 Received: (qmail 78284 invoked by uid 500); 27 Oct 2010 16:35:54 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 71771 invoked by uid 500); 27 Oct 2010 16:34:47 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Delivered-To: moderator for user@commons.apache.org Received: (qmail 45335 invoked by uid 99); 27 Oct 2010 13:32:49 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB75DB.61A6158D" Subject: [lang] Date: Wed, 27 Oct 2010 15:32:20 +0200 Message-ID: <4EA311506FD2E949A74115E28A3B886B0506B5F4@protex.protagen.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [lang] Thread-Index: Act122HnMVi9zB/uTUqUphqMg5UgvA== From: "Dirk Starke" To: ------_=_NextPart_001_01CB75DB.61A6158D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 I just recognized the following example in class StringUtils: =20 StringUtils.indexOfAnyBut("zzabyycdxx", '') =3D 0 =20 I don't understand this example, because [] is used for an empty array in the documentation of this method. Could this be corrected or explained? =20 Cheers, Dirk =20 ------_=_NextPart_001_01CB75DB.61A6158D--