Hi,
I'm attempting to trim off the path of a file in a listbox so that I just end up with the file name. In vb I can use
Dim k As Long
k = InStrRev(lstPlaylist.List(lstPlaylist.ListIndex),"\")
If k > 0 Then lblTitle.Caption = right$(lstPlaylist.List(lstPlaylist.ListIndex), k)
This works but does not return everything to the right of the last \. It chops off some of the filename.
Is there a different way to do this in Jabaco?
Neil