Double Space ----- Help!!!

Results 1 to 2 of 2

Thread: Double Space ----- Help!!!

  1. #1
    Pradnya Guest

    Default Double Space ----- Help!!!

    When user enters a form in my website and enters two white spaces<BR>then while he wants to update it gives error <BR>either bof or eof .....<BR><BR>I want to replace the double space to single space.<BR>But when i use the replace syntax<BR>i.e details=replace(request.form("details")," "," ")<BR>then it stores details as empty field in database.<BR><BR>Can anyone help me how to replace double spaces to single space before entering it into database

  2. #2
    Join Date
    Dec 1969

    Default RE: Double Space ----- Help!!!

    Just use Trim()for fields,user inserts...

Posting Permissions

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