On Fri, 2013-11-08 at 15:23 +0100, Fabien Bodard wrote: > My turn !! > > Dim aVersion as String[] = scan(sVersion,"*.*.*") > > Print aVersion[0] > > > Work also with split. > Ha!
Dim aVersion As String[] = Scan(Application.Version, "*.*.*") Print aVersion[0] = 48 keystrokes Print Split(Application.Version, ".")[0] = 25 keystrokes :-) Bruce ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user