change file extensions

sheriffporter

Member
Licensed User
Longtime User
I need to programatically change the extensions on all the files in a folder (from .o to .txt - so the Android can read them as text files). I found some references to regex.split, just not sure how to use it. Any examples or tips?
 

NJDude

Expert
Licensed User
Longtime User
You could use:
B4X:
Dim Extension As String

If Extension.EndsWith(".o") Then
<change the extension>
<etc>
...

If you define a variable as String you will see all the options available.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…