Splitting a String to Use Separate Words

Discussion in 'ASP General' started by Joe, Oct 15, 2004.

  1. Joe

    Joe Guest

    hi,

    i have a search form that will only search the whole string when
    searching a query. i would like to have the search string split into
    separate words so that each word could be used as part of a single
    query. is there a simple solution to my question ?

    joe
     
    Joe, Oct 15, 2004
    #1
    1. Advertising

  2. Joe

    Agoston Bejo Guest

    Take a look at the Split() method in the VBScript reference.

    "Joe" <> wrote in message
    news:...
    >
    > hi,
    >
    > i have a search form that will only search the whole string when
    > searching a query. i would like to have the search string split into
    > separate words so that each word could be used as part of a single
    > query. is there a simple solution to my question ?
    >
    > joe
     
    Agoston Bejo, Oct 15, 2004
    #2
    1. Advertising

  3. Joe wrote:
    > hi,
    >
    > i have a search form that will only search the whole string when
    > searching a query. i would like to have the search string split into
    > separate words so that each word could be used as part of a single
    > query. is there a simple solution to my question ?
    >
    > joe


    If you don't have te vbscript documentation, here's a link to allow you to
    download it:
    http://tinyurl.com/7rk6

    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
     
    Bob Barrows [MVP], Oct 15, 2004
    #3
    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. EvgueniB
    Replies:
    1
    Views:
    632
    Anthony Borla
    Dec 15, 2003
  2. Simon
    Replies:
    12
    Views:
    543
  3. BerlinBrown
    Replies:
    6
    Views:
    4,499
  4. KK
    Replies:
    5
    Views:
    529
    Arne Vajhøj
    Jul 12, 2008
  5. pantagruel
    Replies:
    8
    Views:
    448
    Dr John Stockton
    Jul 22, 2006
Loading...

Share This Page