I am new here and also new at programming.
The first qeustion is: I want a user to full in a form. In that form I ask
there name, last name, initials and some more info. I want to have the first letter
of his/her name, last name to capital and all of there initials all.
But for intials it has to separete by dots. example: Johny Black J.B.W.
I found out how the make it capital, but I have a problem here. If you look you will see
0, 10. It will make 10 letters to capital after 10 letters its gives a error.
Is there a way to do it automaticly without having to fill the numbers in?
If not IsDbNull(rs("cp_initials")) Then
Dim initials as string = rs("cp_initials").Substring(0, 10)
initials = initials.ToUpper()
rs("cp_initials") = initials + rs("cp_initials").Substring(10)
the next qeustion is: some users fill by them self the dots in the initails.
So i need to make an "checker" to see if there are not dots and fill then the dots in.
To see if the user did fill in any dot or not, because if I do it autmaticly there will
be more dots in the initails then its necessary.
I try few things as a newbie, but that made its only worse. So any help wil be appreciate.