To read the article online, visit

Trim(string) : Returns a copy of a string without leading or
               trailing spaces
        function Trim(str)
                PURPOSE: Remove trailing and leading blanks from our string.
                IN: str - the string we want to Trim

                RETVAL: A Trimmed string!
                return RTrim(LTrim(str));

Article Information
Article Title:
Article Author: Scott Mitchell
Article URL:

Copyright 2018 QuinStreet Inc. All Rights Reserved.
Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers