Thanks Adam!

  ----- Original Message ----- 
  From: Adam Royle 
  To: [email protected] 
  Sent: Tuesday, March 13, 2007 12:55 AM
  Subject: Re: [flexcoders] Does FLEX have an implode function, a la PHP?



  var arr:Array = ['a','b'];
  var str:String = arr.join(':');

    ----- Original Message ----- 
    From: Alex 
    To: [email protected] 
    Sent: Tuesday, March 13, 2007 2:47 PM
    Subject: [flexcoders] Does FLEX have an implode function, a la PHP?


    Hi there,

    What would be the equivalent of this PHP code snippet, in Flex 2?

    $str = implode( ':', array( 'a', 'b' ) );

    (result, $str = 'a:b' )

    Is there an implode-type function? (basically 'glues' an array
    together with a specified character).

    TIA
    Alex




   

Reply via email to