[Gambas-user] R: How to get all string after last "/"

abbat81 abbat.81 at ...787...
Thu Aug 22 22:06:22 CEST 2013


Jussi Lahtinen wrote
> You can use InStr() to find "png" and count back to "/".

Ok, how to count back to last "/" in string if we have: 

Dim s As String = "http://www.link1.com/folder1/folder1/picture1.png" 
Print InStr(s, ".png")

 => 46



--
View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-all-string-after-last-tp42952p42961.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list