title: String.contains() in Flex?
body: <p>Do you know if Flex have a method like Contains() to find a word in a String???</p>
  
  <p>I´d like to do something like this: </p>
  
  <pre><code>       for (int x = 0; x &lt; Concepto.length; x++) {
          if(cadena.contains(id[x])){
  
              System.out.println("ID ya agregado...");
          }
          else{
              cadena += "\n id=  " + id[x];
          }
          for (int y = 0; y &lt; Concepto.length; y++) {
  
  
  
              if (id[x].equals(id[y])) {
              if(cadena.contains(Concepto[y])){
                      System.out.println("Concepto ya agregado...");
              }else{
                  cadena += "\n" + Concepto[y];
              }
  
              }else {
                  System.out.println("No se agrega...");
              }
  
  
          }
  </code></pre>