Mike’s Experiments - PHP: Name Truncater

With a script function like this you can in a more friendly way collect a submitted full name and truncate it to return the first name only where it would be applicable to do so. John Doe gets returned as John, without making Mr. Doe separate this data for you.
Get the PHP, source. Go to back to the Mike’s Experiments index.


Name Truncater Demo