<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 11 set 2019 alle ore 18:19 Benoît Minisini <<a href="mailto:g4mba5@gmail.com">g4mba5@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 11/09/2019 à 15:44, Gianluigi a écrit :<br>
> Hi Cedron,<br>
> thank you very much for all the suggestions ;-)<br>
> <br>
> Regards<br>
> Gianluigi<br>
> <br>
<br>
Why the name "ProperCase"?<br>
<br></blockquote><div><br></div><div>It comes from the request of a user on the Italian forum that used it in VB6.<br><br>"vbProperCase    3       Converts the first letter of every word in a string to uppercase."</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Anyway, it's difficult to add a function that should behave differently <br>
according to the current language (the proper case is not the same thing <br>
in French, Italian, and I don't tell about Chinese and Arabic), if that <br>
information is not available in the libc.<br>
<br>
The right name would be "String.CapitalizeWords".<br>
<br>
And String.UCaseFirst() should have been named String.Capitalize().<br>
<br>
As for Cedric's suggestion, ('HomeAddress' <==> 'home_address'), it a <br>
good idea too. The generic name for that sort of things is "normalization".<br>
<br>
But if you normalize for database you should put the function in the <br>
database component. Which has, by the way, quoting functions that should <br>
allow to name your identifiers as you want.<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br></blockquote><div><br></div><div>Regards</div><div>Gianluigi<br></div></div></div>