Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing case of string...

Status
Not open for further replies.

Ajb2528

Technical User
Feb 22, 2002
270
GB
Hi!

I hope that someone can help me....

I have a databse table containing rows of company names. What I would like to do is to parse these names to ensure that they are properly capitalised. For example if the name is -

XYZ trading co

I would like the function to return -

XYZ Trading Co

I have tried serveral routines but they all seem to return something like -

Xyz Trading Co

Any help will be appreciated!

Regards,

Alan
 



Hi,

What logic do you intend to use to determine that words like XYZ are to be handled differently than words like trading? Use that logic to apply Proper to the words that you intend to capitalize.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top