[ascoders] Re: $version

  • From: "Mario Klingemann" <ascoders@xxxxxxxxxxxxx>
  • To: <ascoders@xxxxxxxxxxxxx>
  • Date: Wed, 15 Dec 2004 22:58:56 +0100

Oder so: System.capabilities.version.split( " " )[1].split( "," )[0];

Mario



----- Original Message ----- From: "André Michelle" <ascoders@xxxxxxxxxxxxxxxxxx>
To: <ascoders@xxxxxxxxxxxxx>
Sent: Wednesday, December 15, 2004 10:40 PM
Subject: [ascoders] $version



mein vorschlag:

var version = $version.toString();

trace( version.substr( version.lastIndexOf( " " ) + 1 ).split( "," )[0] );

Ich gehe also davon aus, was die Plattform immer mit einem Spacezeichen von
der Versionsnummer getrennt ist...


--
aM


------------------------------------------------------ Archiv : //www.freelists.org/archives/ascoders/ Optionen : //www.freelists.org/list/ascoders ------------------------------------------------------


------------------------------------------------------ Archiv : //www.freelists.org/archives/ascoders/ Optionen : //www.freelists.org/list/ascoders ------------------------------------------------------

Other related posts: