2 Replies Latest reply on Dec 2, 2010 7:09 PM by Fayena

    check character case

    Fayena

      I'm converting a some PHP code to flex.  Is there a function in flex that will work in place of cytpe_lower and ctype_upper?    This is the PHP Code

       

      for ($i=0; $i<=1; $i++)  {

          for ($j=0;$j<=1; $j++){

          if (ctype_lower($sire[$i])){

                  if (ctype_upper($dam[$j])){

                      $foalA[$k]=$dam[$j].$sire[$i];

                      }

       

                  else{

                     $foalA[$k]=$sire[$i].$dam[$j];

                          }}

              else{

                 $foalA[$k]=$sire[$i].$dam[$j];

                  }

       

              $k++;

          }

      }