I found this answer to my own question:

   1. public static function stringToBoolean($string:String):Boolean
   2. {
   3.     return ($string.toLowerCase() == "true" || $string.toLowerCase()==
   "1");
   4. }

http://evolve.reintroducing.com/2008/03/25/tips-n-tricks/converting-strings-to-booleans/

maybe someone else will find this useful.


-- 
Johnny Waggener
Software Developer
Multicast Media
678-592-2650

Reply via email to