Hi
The result from the following code returns the path and the filename (storage/emulated/0/test.txt).
Any suggestions how I can obtain just the filename test.txt minus the path?
Thanks.
The result from the following code returns the path and the filename (storage/emulated/0/test.txt).
Any suggestions how I can obtain just the filename test.txt minus the path?
B4X:
Sub Button1_Click
CC.Show("*/*", "Choose a file")
End Sub
Sub ContentChooser_Result (Success As Boolean, Dir As String, FileName As String)
If Success Then
Msgbox(FileName, "Result")
End If
End Sub
Thanks.