Remove whitespace from a text string
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.
- Visit Site:
- Remove whitespace from a text string
- Version:
- 1.0
- Filed in:
-
PHP / Tutorials & Tips / Miscellaneous
- Platforms:
-
- Date Added:
- Mar 10, 2004
- Last Updated:
- Mar 10, 2004
License and Pricing Information
| Publisher site visits: | 2,688 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
Other listings by this publisher
- Random Image
- Random Quote
- Text file hit counter
- Password protect a page
- Simple guestbook
- Form to mail
- Directory lister
- Totally PHP
- Convert links into clickable hyperlinks
- Create a random password
- Send email using the PHP mail() function
- Display image depending on day of week
- Custom error pages using .htaccess
- Count and display the number of rows in a MySQL database table
- Days Between Now And Future Date
- Count number of words in a text string
