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

8222Re: [FlashLite] fscommand2("GetPlatform")

Expand Messages
  • Scott Janousek
    Mar 4, 2009
    • 0 Attachment
      that's my favorite, but it depends on your needs. :)

      On 3/4/2009 11:15 AM, Jesse Warden wrote:

      like:


      var str = "cow ";
      str = str.split(" ").join("");

      On Wed, Mar 4, 2009 at 11:10 AM, Scott Janousek <scott@scottjanousek .com> wrote:

      Nope no built in trim as in PHP, in AS2 ... but if you search there are
      tons of custom functions out there for reuse.

      -sj

      On 3/4/2009 5:02 AM, Barry Beattie wrote:
      > Dale, is there a "trim()" function availble to help here?
      >
      >
      > if (trim(fscommand2(“ GetPlatform” , “platform”)) == " “Nokia OS" )
      > {
      > // etc....
      > }
      >
      >
      >




    • Show all 13 messages in this topic