Results 1 to 2 of 2

Thread: TRIM???

  1. #1
    Join Date
    Dec 1969

    Default TRIM???

    just curious, I understand that trim chops off begin and end spaces, but what does that mean in this case:<BR> Item = Trim(Request("Item"))<BR>Also, why do i need the trim function in this case?<BR>

  2. #2
    Sathiya Guest

    Default RE: TRIM???

    you are requesting Item from the HTML page lets say Textbox so the value in the text box have sapces when you need to compare the Item in the textbox with the Item in a table if it has spaces it will not give correct results. in your case<BR> Item (This is a variable) = Trim(Request("Item"&#060;This is from HTML page&#062;).So you can use Item anywhere in the page without typing trim and request.

Posting Permissions

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