Re: String Array Uppercase
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 21:22:50 +0100
Rod wrote:
Anyone know of a one liner to convert ALL elements of a String ARRAY to uppercase ?
array = Arrays.toString(array).toUpperCase().split(", \\[\\]");
Or something. Doesn't work for strings with obscure characters, like space. Also the locale is probably inappropriate.
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- References:
- String Array Uppercase
- From: Rod
- String Array Uppercase
- Prev by Date: Re: JRE and Browser Plugin Problems
- Next by Date: J2ME and Bluetooth
- Previous by thread: Re: String Array Uppercase
- Next by thread: J2ME and Bluetooth
- Index(es):
Relevant Pages
|