Loading ...
Sorry, an error occurred while loading the content.

8234Re: fscommand2("GetPlatform")

Expand Messages
  • Maxim Antinori
    Mar 5, 2009
    • 0 Attachment
      Agree with iBrent, I like the indexOf approach to this, simpler/faster than splits and joins...

      >
      > var platform:String = fscommand2("GetPlatform", "platform");
      > if (platform.toLowerCase().indexOf("nokia") != -1)
      > {
      > // you've got a Nokia phone
      > }
      >
      >
      > iBrent
      >
      >
      >
    • Show all 13 messages in this topic