Hello Abbat81,

...by using Split() function:


Public Sub Form_Open()

  Dim s As String = "http://www.link1.com/folder1/picture1.png";
  Dim ss As String[]

   ss = Split(s, "/")
   
   Print ss[4]

End



--------------------------------------------
Gio 22/8/13, abbat81 <abbat...@mail.ru> ha scritto:

 Oggetto: [Gambas-user] How to get all string after last "/"
 A: gambas-user@lists.sourceforge.net
 Data: Giovedì 22 agosto 2013, 20:23
 
 Hi,
 
 I have a links with one and more "/".
 example:
 http://www.link1.com/folder1/picture1.png
 http://www.link2.com/folder2/folder3/picture2_adv.png
 
 How to get "picture1.png" and "picture2_adv.png" from those
 links?
 
 Thanks
 
 
 
 --
 View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-get-all-string-after-last-tp42952.html
 Sent from the gambas-user mailing list archive at
 Nabble.com.
 
 ------------------------------------------------------------------------------
 Introducing Performance Central, a new site from SourceForge
 and 
 AppDynamics. Performance Central is your source for news,
 insights, 
 analysis and resources for efficient Application Performance
 Management. 
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
 _______________________________________________
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to