Android Utililty Methods Path Split

List of utility methods to do Path Split

Description

The list of methods to do Path Split are organized into topic(s).

Method

String[]sepPath(String filePath)
sep Path
if (filePath == null || !filePath.contains("/")) {
    return null;
if (filePath.endsWith("/")) {
    filePath = filePath.substring(0, filePath.length() - 1);
int index = filePath.lastIndexOf("/") + 1;
String[] arr = new String[2];
...