Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Something more than Propercase (http://www.velocityreviews.com/forums/t792134-something-more-than-propercase.html)

Colin Steadman 12-12-2003 10:18 AM

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

Matt Smith 12-12-2003 11:43 AM

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57