![]() |
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 |
Re: Something more than Propercase
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" <msdn@ThiS1SN0tPaRT0fTHEeMAILcolinsteadman.comNORT HISBit> wrote in message news:022701c3c099$42f9eaf0$a001280a@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 |
| All times are GMT. The time now is 06:27 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.