     //--------------------------------------------------------------------------
 
     private static const ASCII_SPACE:uint = 0x20;
+    private static const ASCII_ZERO:uint = 0x30;
     private static const NO_BREAK_SPACE:uint = 0xA0;
     private static const UNICODE_OGHAM_SPACE_MARK:uint = 0x1680;
     private static const UNICODE_MONGOLIAN_VOWEL_SEPARATOR:uint = 0x180E;

        //substring() gets characters up to one index before.
        return input.substring(i, j+1);
    }
}

}
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */
    public static function isWhiteSpace(ccode:uint):Boolean
    {
        if ((ccode == ASCII_SPACE) || (ccode == NO_BREAK_SPACE) ||
            (ccode == 0x9))
