Something more than Propercase

Discussion in 'ASP General' started by Colin Steadman, Dec 12, 2003.

  1. 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
    Colin Steadman, Dec 12, 2003
    #1
    1. Advertising

  2. Colin Steadman

    Matt Smith Guest

    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/message.asp?p=2978&ID=<>

    HTH
    Matt Smith

    "Colin Steadman" <>
    wrote in message news:022701c3c099$42f9eaf0$...
    > 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, Dec 12, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kabal

    ProperCase class <see body>

    Kabal, Sep 3, 2003, in forum: Java
    Replies:
    5
    Views:
    2,890
    Wojtek
    Sep 5, 2003
  2. Jonathan Fine
    Replies:
    1
    Views:
    201
    Mike Driscoll
    Oct 10, 2008
  3. Mike

    Using ProperCase in ASP

    Mike, Jul 11, 2003, in forum: ASP General
    Replies:
    5
    Views:
    117
  4. Steven D'Aprano
    Replies:
    0
    Views:
    65
    Steven D'Aprano
    Dec 23, 2013
  5. Replies:
    3
    Views:
    62
    Gary Herron
    Dec 23, 2013
Loading...

Share This Page