2 Replies Latest reply on May 30, 2007 2:02 AM by mouse jockey

    Correct use of trim?

    mouse jockey Level 1
      I have a script which includes

      import mx.utils.StringUtil;


      if (trim(customersAccount.text) == "/")

      However, the 'if' line of text throws up a "1180 Call to possibly undefined method trim." error

      What have I done wrong please?