Hi All,
I have been chasing down how to detect/correct if a user uses uppercase instead of lowercase to name a file. I had this as a concern on the understanding Android is case sensitive. Point is moot.
After many puzzling outcomes I ran this sub. The file IMPSITELIST.CSV is in Dir ABT, no lowercase equivalent is there. The file is found whether File.Exist uses Uppercase or lowercase.
Does anybody know how to tell if a function in B4A is actually case sensitive?
Regards Roger
I have been chasing down how to detect/correct if a user uses uppercase instead of lowercase to name a file. I had this as a concern on the understanding Android is case sensitive. Point is moot.
After many puzzling outcomes I ran this sub. The file IMPSITELIST.CSV is in Dir ABT, no lowercase equivalent is there. The file is found whether File.Exist uses Uppercase or lowercase.
Does anybody know how to tell if a function in B4A is actually case sensitive?
Regards Roger
B4X:
Sub BtnSiteListPlus_click
If File.Exists(File.DirRootExternal&"/ABT/", "impsitelist.csv") Then Log("lowercase found")
If File.Exists(File.DirRootExternal&"/ABT/", "IMPSITELIST.CSV") Then Log("UPPERCASE FOUND")