1 Reply Latest reply on Jun 6, 2006 10:59 AM by Newsgroup_User

    Function to determine file type

    Sharpe D User Group Manager

      I am looking for a basic function that will receive a string, I want the function to look at the string and determine what the file type is, then perform another function.

      where filename = "demo.swf" or "somethingElse.pdf"

      if filename == 'swf'
      goto "10"
      else if filename == 'pdf'
      goto "20"