     }
 
     /**
-     * Utility function that strips whitespace from the ends of a String.
+     * Utility function that strips whitespace from the beginning and end of a String.
      */
     public static function trim (str :String) :String
     {

        } else {
            return "";
        }
    }

    /**


package com.threerings.util {

import com.threerings.util.env.Environment;

import flash.utils.ByteArray;
import flash.utils.Dictionary;

public class StringUtil
{
