You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Anthony Perritano <ap...@gmail.com> on 2005/03/07 21:48:22 UTC

camel case string

Hi,
is there api to split camel case strings into separate words? for 
example i want the ability to split stepListFirst into step List First.

Thanks,
Anthony Perritano


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: camel case string

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Don't misunderstand me. I'd like the code to be attached to the bugzilla 
call too, plus tests.
Stephen

From: "Henry Voyer" <he...@gemplus.com>
> Sorry but i beleive that this is not the way to go.
>
> This is an easy programming task. He could take 30 minutes to program it, 
> do
> a junit and deliver the result to the community.
>
> A+
>
>
> -----Original Message-----
> From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
> Sent: Monday, March 07, 2005 8:00 PM
> To: Jakarta Commons Users List
> Subject: Re: camel case string
>
>
> I would recommend raising a bugzilla call (RFE) against [lang]. This
> suggestion has come up before.
>
> Stephen
>
> ----- Original Message -----
> From: "Anthony Perritano" <ap...@gmail.com>
>> is there api to split camel case strings into separate words? for example
>> i want the ability to split stepListFirst into step List First.
>>
>> Thanks,
>> Anthony Perritano
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


RE: camel case string

Posted by Henry Voyer <he...@gemplus.com>.
Hi Stephen

Sorry but i beleive that this is not the way to go.

This is an easy programming task. He could take 30 minutes to program it, do
a junit and deliver the result to the community.

A+


-----Original Message-----
From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
Sent: Monday, March 07, 2005 8:00 PM
To: Jakarta Commons Users List
Subject: Re: camel case string


I would recommend raising a bugzilla call (RFE) against [lang]. This
suggestion has come up before.

Stephen

----- Original Message -----
From: "Anthony Perritano" <ap...@gmail.com>
> is there api to split camel case strings into separate words? for example
> i want the ability to split stepListFirst into step List First.
>
> Thanks,
> Anthony Perritano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: camel case string

Posted by Stephen Colebourne <sc...@btopenworld.com>.
I would recommend raising a bugzilla call (RFE) against [lang]. This 
suggestion has come up before.

Stephen

----- Original Message ----- 
From: "Anthony Perritano" <ap...@gmail.com>
> is there api to split camel case strings into separate words? for example 
> i want the ability to split stepListFirst into step List First.
>
> Thanks,
> Anthony Perritano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: camel case string

Posted by petite_abeille <pe...@mac.com>.
On Mar 07, 2005, at 21:48, Anthony Perritano wrote:

> is there api to split camel case strings into separate words? for  
> example i want the ability to split stepListFirst into step List  
> First.

Check the misleadingly named breakString() method:

http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZFoundation/ 
SZString.java

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


RE: camel case string

Posted by Alfredo Ledezma Melendez <al...@mail.telcel.com>.
At least I don't know such a thing...

Regards,
____________________________________________
Alfredo Ledezma Meléndez.
Costumer Record Management
Consultor Externo de Sistemas de Atención a Clientes
RadioMovil DIPSA, S. A. de C. V.
Ejército Nacional No. 488, Col. Anahuac, C.P. 11570
México D.F.

 -----Original Message-----
From: 	Anthony Perritano [mailto:aperritano@gmail.com]
Sent:	Monday, March 07, 2005 3:17 PM
To:	Jakarta Commons Users List
Subject:	Re: camel case string

it could be any random string, is there a quick util for figuring out
all the capital letters of a string?

-Tony

On Mar 7, 2005, at 1:02 PM, Alfredo Ledezma Melendez wrote:

> I recommend using split function from String class
>
> Regards,
> ____________________________________________
> Alfredo Ledezma Meléndez.
> Costumer Record Management
> Consultor Externo de Sistemas de Atención a Clientes
> RadioMovil DIPSA, S. A. de C. V.
> Ejército Nacional No. 488, Col. Anahuac, C.P. 11570
> México D.F.
>
>  -----Original Message-----
> From: 	Anthony Perritano [mailto:aperritano@gmail.com]
> Sent:	Monday, March 07, 2005 2:48 PM
> To:	commons-user@jakarta.apache.org
> Subject:	camel case string
>
> Hi,
> is there api to split camel case strings into separate words? for
> example i want the ability to split stepListFirst into step List First.
>
> Thanks,
> Anthony Perritano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: camel case string

Posted by Anthony Perritano <ap...@gmail.com>.
it could be any random string, is there a quick util for figuring out 
all the capital letters of a string?

-Tony

On Mar 7, 2005, at 1:02 PM, Alfredo Ledezma Melendez wrote:

> I recommend using split function from String class
>
> Regards,
> ____________________________________________
> Alfredo Ledezma Meléndez.
> Costumer Record Management
> Consultor Externo de Sistemas de Atención a Clientes
> RadioMovil DIPSA, S. A. de C. V.
> Ejército Nacional No. 488, Col. Anahuac, C.P. 11570
> México D.F.
>
>  -----Original Message-----
> From: 	Anthony Perritano [mailto:aperritano@gmail.com]
> Sent:	Monday, March 07, 2005 2:48 PM
> To:	commons-user@jakarta.apache.org
> Subject:	camel case string
>
> Hi,
> is there api to split camel case strings into separate words? for
> example i want the ability to split stepListFirst into step List First.
>
> Thanks,
> Anthony Perritano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


RE: camel case string

Posted by Alfredo Ledezma Melendez <al...@mail.telcel.com>.
I recommend using split function from String class

Regards,
____________________________________________
Alfredo Ledezma Meléndez.
Costumer Record Management
Consultor Externo de Sistemas de Atención a Clientes
RadioMovil DIPSA, S. A. de C. V.
Ejército Nacional No. 488, Col. Anahuac, C.P. 11570
México D.F.

 -----Original Message-----
From: 	Anthony Perritano [mailto:aperritano@gmail.com]
Sent:	Monday, March 07, 2005 2:48 PM
To:	commons-user@jakarta.apache.org
Subject:	camel case string

Hi,
is there api to split camel case strings into separate words? for
example i want the ability to split stepListFirst into step List First.

Thanks,
Anthony Perritano


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org