SEARCHWHAT'S NEWUSER REGISTRATIONCONTACT USRANDOM LINK
     
Web Hosting
Find your solution
with ResourceIndex:

Ecommerce Hosting
Windows Hosting
Unix Hosting
Budget Hosting Dedicated Servers
Hagen Hosting - $3.95 per month for 400 GB!
Special Features
CGI Resource Index
Over 4,000 CGI
related resources!
User Registration
Get E-Mail Updates,
rate and comment
on resources, and
much more!
Sponsor Links
Survey Software
Run web-based surveys on your site! View demo; PHP or Perl/CGI
Other Sites by Matt
Matt's Script Archive
   free cgi scripts
FormMail.com
   hosted form mail
chumpsoft
   php web surveys
Resource Details: Remove whitespace from a text string
Resource Details refreshed on Wednesday, July 09, 2008 at 00:10 EDT

Functions and Classes: Miscellaneous

Remove whitespace from a text string
Rate It!
 Version: 1.0 - Released: 03/05/04 - Free Jump to URL
 If you use a form on your site then you'll know that user input can often have white space before or after the text as the person filling in the form field sometimes accidentally adds spaces. This handy function will remove the whitespace from the beginning or end of the string.

Other PHP resources by this developer:
 
 
  • Community: Developer Sites - Totally PHP
  • Complete Scripts: File Management - Directory Lister
  • Complete Scripts: Guestbooks - Simple guestbook
  • Complete Scripts: Random Items: Random Images - Display a different image for each day of the week
  • Complete Scripts: User Management - Password protect a page
  • Documentation: Examples and Tutorials: Miscellaneous - Custom error pages using .htaccess
  • Functions and Classes: Date and Time - Date and time a file was last accessed
  • Functions and Classes: Date and Time - Number of days between now and a day in the future
  • Functions and Classes: Miscellaneous - Find and replace words in a text string using str_replace
  • Functions and Classes: Miscellaneous - Count number of words in a text string
  • Functions and Classes: Miscellaneous - Convert links into clickable hyperlinks
  • Functions and Classes: User Management - Create a random password

  • Registered User Comments and Ratings:
     
    No registered users have rated or commented on this resource. Use the form below to add your comments or ratings.

    Unregistered User Ratings:
     
    Number of Ratings:2
    Resource Rating:5.50
    Highest Rating:10
    Lowest Rating:1
    Rating = average without top/bottom 10% of votes.
    Breakdown of Ratings by Value

    Agree or Disagree with the above? Please leave your rating:
    • Please do not vote for the same resource more than once.
    • The scale is 1 - 10, with 1 being poor and 10 being excellent.
    • Please be objective, if everyone receives a 1 or a 10, the ratings aren't very useful.
    • You can view a list of the Top Rated Resources.
    • Do not vote for your own resource or a competitor's.
    Rate It! - Unregistered Users' Rating Service
     
    Rating for this Resource:
    Registered Users: Rate It! and Add Comments (max 500 characters)
     
    Rating for this Resource:
    Comments:

    Is this your resource? Allow users to rate your script from your web site!
    Is this resource incorrectly listed or does it need to be updated? Modify this Listing.

    Search
     
    Special Features
    Deliver Your Ad
    to over 100,000
    web developers!
     
    Contact Us:Modify a ListingReport Site ErrorsSuggestions/CommentsAdvertising Opportunities
     © 1997 - 2005 The Resource Index™ Online Network. A product of Matt's Script Archive, Inc.