469,917 Members | 1,866 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Something more than Propercase

Does anyone have a Propercase script they dont mind
sharing. I have one from ASPFAQ thats quite good, but its
giving me results that aren't quite what I wanted -

Result What I wanted
====== =============

Mr Kipling Uk Mr Kipling UK
Mr Kipling (uk) Mr Kipling (UK)

I've reading up on regular expressions so that I can build
my own function for this, but this method just doesn't
click with me, I just cant seem to get my head around them
for anything more than a simple global replace!

TIA,

Colin
Jul 19 '05 #1
1 1251
There's a lot of factors to take into account over this so pick your
function carefully.
Have a look at:
http://www.developersdex.com/asp/mes...404ax%2Ecom%3E

HTH
Matt Smith

"Colin Steadman" <ms**@ThiS1SN0tPaRT0fTHEeMAILcolinsteadman.comNORT HISBit>
wrote in message news:02****************************@phx.gbl...
Does anyone have a Propercase script they dont mind
sharing. I have one from ASPFAQ thats quite good, but its
giving me results that aren't quite what I wanted -

Result What I wanted
====== =============

Mr Kipling Uk Mr Kipling UK
Mr Kipling (uk) Mr Kipling (UK)

I've reading up on regular expressions so that I can build
my own function for this, but this method just doesn't
click with me, I just cant seem to get my head around them
for anything more than a simple global replace!

TIA,

Colin

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Mike | last post: by
6 posts views Thread by Michael Sparks | last post: by
19 posts views Thread by Lorenzo J. Lucchini | last post: by
56 posts views Thread by maadhuu | last post: by
20 posts views Thread by James | last post: by
3 posts views Thread by Peter Oliphant | last post: by
reply views Thread by Hendrik van Rooyen | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.