> > I've been searching long and hard and have come across
> > a few techniques for changing text entries with lower
> > case (entered by web user) and changing them to have
> > first letter capitalized.
> >
> > in php. ucfirst
> > in java capitalize
> >
> > But I'm not having success on t
within Java, you'll need to create a new String object, like
String textCapitalized = new String;
and
then when you receive the web text input (say you call it webText)
you do the capitalize function on webText and set it to textCapitalized,
like
textCapitalized = capitalizeFCT(webText);
and then
You have two good opportunities to fix your text before it hits the
database. Your first chance is on the submitting form. Use JavaScript to
modify the submitted data.
Your second opportunity is server-side and is in the script on the page
that handles your form's submission. That's also the pa
> I've been searching long and hard and have come across
> a few techniques for changing text entries with lower
> case (entered by web user) and changing them to have
> first letter capitalized.
>
> in php. ucfirst
> in java capitalize
>
> But I'm not having success on the database side.
I've been searching long and hard and have come across
a few techniques for changing text entries with lower
case (entered by web user) and changing them to have
first letter capitalized.
in php. ucfirst
in java capitalize
But I'm not having success on the database side.
Everything the