Closed Thread
Results 1 to 2 of 2

Thread: search strings returned to search field cut off after firest space

  1. #1
    mikahl13 is offline Newbie
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    Question search strings returned to search field cut off after firest space

    I have a series of perl script that run an auction site which I have been maintaining and building over the last 10 years. Lately I have problems that I encounter and can't figure out solutions. It seems things work differently in the new browsers, or maybe my programming is off. I need some help.

    Here is the problem currently at hand: When I recall a string in certain applications, the string gets cut off at the first space. For example, my search function, while it performs the search as it should, only returns the first word of the string, back to the search bar. Moat search bars do not do this and it can makes searching a bit cumbersome.

    The string is cut off after the first space. If I enter a search with "two words", the search will work but only the word "two" will be returned back to the search field.

    This also happens to the subject line of emails that the scripts send out. I have to put an underscore, instead of a space, between words. I would like to fix this programming fault but can't seem to figure it out on my own.

    Can anyone point me in the right direction or offer some professional help?

    Thanks for reading.

    Mike
    Last edited by mikahl13; 03-10-2010 at 12:04 PM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Red_Shadow's Avatar
    Red_Shadow is offline Learning Programmer
    Join Date
    Jan 2009
    Location
    over the rainbow
    Posts
    58
    Rep Power
    0

    Re: search strings returned to search field cut off after firest space

    It really shouldn't do that. You aren't using split anywhere or something?
    Perl wouldn't split your string unless asked to, it must be somewhere in the code. Which functions are you using on the string near the modules that cause the problem? Posting some codebits that cause the issue would help.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search Engine && Search Algorithm (Help)
    By pally98 in forum General Programming
    Replies: 2
    Last Post: 10-03-2011, 10:49 AM
  2. Replies: 4
    Last Post: 09-15-2010, 06:19 AM
  3. [SQL] Split Field Strings at ;
    By SterAllures in forum Database & Database Programming
    Replies: 12
    Last Post: 05-30-2009, 05:08 AM
  4. Search Bar?
    By xGhost4000x in forum Visual Basic Programming
    Replies: 5
    Last Post: 09-24-2008, 05:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts