SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trim(Request.Form("txtFromName"))

    hello,
    Am wondering if its ok to use just
    Trim(Request.Form("txtFromName"))


    or to use both
    rTrim(ltrim(Request.Form("txtFromName")))

    ?

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    That will work just fine. Here's a nice example using the different TRIMS:

    http://www.w3schools.com/asp/showasp...=demo_asp_trim


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
  •