SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jun 1, 2005, 05:53 #1
- 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")))
?
-
Jun 1, 2005, 06:03 #2
- 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"Does this napkin smell like chloroform?"
...now with SnapFoo!
My Blog | My Twitter | My Company | SitePoint Podcast
*** Matt Mullenweg on the SitePoint Podcast ***
Bookmarks