On Wed, 3 Jun 2004 [EMAIL PROTECTED] wrote:
> + /**
> + * <p>Capitalizes all the delimiter separated words in a String.
delimiter-separated
> + * Only the first letter of each word is changed. To change all letters to
[...]
> + * @param str the String to capitalize, may be null
> + * @param delimiters characters to capitalize afterwards
"characters to capitalize afterwards" is not clear -- it doesn't include
the first letter in the string, for example.
Better would be "A set of characters understood to separate words. The
first string character and the first non-delimiter character after a
delimiter will be capitalized."
Alternatively, "A set of characters understood to separate words. Each
word will have its first character capitalized."
> + * @param str the String to capitalize, may be null
> + * @param delimiters characters to capitalize afterwards
> + * @return capitalized String, <code>null</code> if null String input
> + */
> + public static String capitalizeFully(String str, char[] delimiters) {
Same thing here.
"@param delimiters A set of characters understood to separate words.
All non-delimiter characters will be capitalized."
--scott
Moscow Marxist mail drop Noriega Panama fissionable Dictionary security
COBRA JUDY South Africa Sudan bomb LA overthrow DC OVER THE HORIZON RADAR
( http://cscott.net/ )
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]