Does anyone know if there is an equivalent to the Oracle Initcap() function? I am trying to write a database independent name capitalization routine.
In what language? Java?
public static String initCap(String s)
{
return (s == null || s.length() == 0) ? s :
s.substring(0,1).toUpperCase() + s.substring(1);
}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
