getDefFolderPath function

String getDefFolderPath(
  1. String filePath
)

Implementation

String getDefFolderPath(
    String filePath
    )
{
    return filePath.substring( 0, filePath.lastIndexOf( '/' ) + 1 );
}