B4A Code Snippet FileUtil SUBs - DonManfred (first post)    Mar 27, 2014   (4 reactions) SubName: GetFileExt Author: @thedesolatesoul Description: Gets the Fileextension of Image or Page from Path Sub GetFileExt(FullPath As String) As String Return FullPath.SubString(FullPath.LastIndexOf(".")+1) End Sub ' ' ExampleLog(GetFileExt("http://www.domain.tld/SomePage.html")) ' -> html Tags: Files GetFileExt... B4A Code Snippet Sharing the goodness: Some useful methods - Mashiane (first post)    Oct 28, 2015 'Description: get a file extention from a complete file path
'Tag: file, path, extention
Sub GetFileExt(FullPath As String) As String
Return FullPath.SubString(FullPath.LastIndexOf(".")+1)
End Sub... Page: 1   |