Tobias Boege-2 wrote > Instead of Mid(sTemp, RInStr(sTemp, "/") + 1) you may want to use the > appropriately named function File.Name(sTemp).
Thanks Tobi, I didn't know that one. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59218.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user