Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94A72200CA3 for ; Thu, 1 Jun 2017 17:31:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 931E8160BC4; Thu, 1 Jun 2017 15:31:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D70D7160BB5 for ; Thu, 1 Jun 2017 17:31:30 +0200 (CEST) Received: (qmail 90372 invoked by uid 500); 1 Jun 2017 15:31:28 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 90360 invoked by uid 99); 1 Jun 2017 15:31:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 15:31:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B89A11A7A9A for ; Thu, 1 Jun 2017 15:31:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.401 X-Spam-Level: X-Spam-Status: No, score=-0.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id P1f-O-EavEuK for ; Thu, 1 Jun 2017 15:31:26 +0000 (UTC) Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8027B5FAFA for ; Thu, 1 Jun 2017 15:31:26 +0000 (UTC) Received: by mail-qk0-f176.google.com with SMTP id p66so22606066qkf.3 for ; Thu, 01 Jun 2017 08:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HYdrX8CjzcpsR/WmnAXRhm327QGk7GpmuUWXothkChg=; b=hDPsO5fWJolVdEG2zXZBH+nXcnKUFKb5n2TxqEVoL6CXnycyYsP1bp2nBqx1wOplWv YiSzthAPTkhJNq1zwcmNiR4RJYPl5lKhz1JWQLA+L4lSSAnUQvOf5QTqX5rlBef29Lu+ rSs14LV4bxdkypbzKR+KsV2ARha66/Ip0lGlRJpXxofx013GmbGpwXq39KaDiiJAz4/c fX8CfKQkQCgQSP8eEo4X4Sc/eHQZOOY2aMfF6h3qn0hclLDFBoSxcEmSuHtrO5UV5rQP gPE9+R5DxrN8UB8cXu93ohld87mS+Tx1gKnJ/xjSknWhQwGPfionNyS2RiMlbMYKS+op BZQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HYdrX8CjzcpsR/WmnAXRhm327QGk7GpmuUWXothkChg=; b=ioaiaKva8q8lro0/jw/ZHbAREiF+7YDORQjnmxRebAYD8orAdv9Spx8VVwRzQt18PH ZFezsBAI+EjVyZcgcCsq589BZ0YrDaLrRuoAcHop1+L2PsCxe1FL0+OpqQfHWvHrTRTt /X7wiqtf+lB1r+6EW3HmeL1O+rG7Rj4G7qXOFpSzr9+dOZjBcBqRwvAI8jDL1OEOZGgY saS9CltzydSXqd8IGIN4YftBFC/p65711hEbm8MwHJaQJpoqTg/RGV8DIgCIpLBebPXO NoguMqdbY16EfrgHYoAhMGk0VwBhz4PwEjZyewx/MemedVQxYVU5IiBRlhM1G9kaCkDY RVog== X-Gm-Message-State: AODbwcCeymAncwjohGW13XR+Xdo7ugIiyFZkdz4ybeZj+LYMxC0yUE9g UXC3h4wRQDQVDv1wUcG+3OY5syMFDvLx X-Received: by 10.55.127.199 with SMTP id a190mr2759588qkd.100.1496331085893; Thu, 01 Jun 2017 08:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.31.99 with HTTP; Thu, 1 Jun 2017 08:31:25 -0700 (PDT) In-Reply-To: <910772F4-308B-4EAB-BB97-040628075D7A@gmail.com> References: <910772F4-308B-4EAB-BB97-040628075D7A@gmail.com> From: Amey Jadiye Date: Thu, 1 Jun 2017 21:01:25 +0530 Message-ID: Subject: Re: [lang] Appetite for new method StringUtils.toCamelCase(String str, char delimiter, boolean capitalizeFirstLetter) To: Commons Developers List Content-Type: multipart/alternative; boundary="94eb2c05e4fcd758a60550e7baa4" archived-at: Thu, 01 Jun 2017 15:31:31 -0000 --94eb2c05e4fcd758a60550e7baa4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 seems good to have in toolbox. pretty similar method I have seen in Commons text WordUtils.capitalize() almost similar logic we will need here ,just not to capitalize first word and join them all, I'm in favour of having this in WordUtils. Regards, Amey On Thu, Jun 1, 2017, 7:33 PM Rob Tompkins wrote: > Hello all, > > Folks at my day job have a method that takes in a space delimited String > (or arbitrarily delimited string for that matter), and returns a camel > cased string. Is there any reason that this shouldn=E2=80=99t be in Strin= gUtils? It > feels reasonable to me. What are folks thoughts? > > Cheers, > -Rob > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --94eb2c05e4fcd758a60550e7baa4--