Jump to content
Forum Roportal
Sign in to follow this  
sorin21us

mcdonald in McDonald, o'brien in O'Brien, etc

Rate this topic

Recommended Posts

Care stie fratilor cum faci in visual basic din mcdonald in McDonald sau din macdonald in MacDonald? Calea simpla o stiu:

 

Dim name As String

 

name = InputBox("Please enter your name")

MsgBox ("Your name is: ") & StrConv(name, vbProperCase)

 

dar exeptiile cu McDonald sau MacDonald ma depasesc.

Share this post


Link to post
Share on other sites
Care stie fratilor cum faci in visual basic din mcdonald in McDonald sau din macdonald in MacDonald? Calea simpla o stiu:

 

Dim name As String

 

name = InputBox("Please enter your name")

MsgBox ("Your name is: ") & StrConv(name, vbProperCase)

 

dar exeptiile cu McDonald sau MacDonald ma depasesc.

nu stiu eu vb insa ce spui tu nu prea cred ca se poate. uppercase si lowercase ca si functii in general iau toate caractele

 

toate cele bune

Share this post


Link to post
Share on other sites
nu stiu eu vb insa ce spui tu nu prea cred ca se poate. uppercase si lowercase ca si functii in general iau toate caractele

 

toate cele bune

 

Iti spun sigur ca se poate pt ca altfel ar fi o confuzi e toatala daca un client ar fi McDonald si tu ii scrii numele Mcdonald. O sa mai cercetez.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×