Storages.extractStoragePath

Function/Meaning
Extract path from storage name
Type
Method of Storages class
Syntax
extractStoragePath(storage)
Arguments
storage Specifies the storage name from which you want to extract the path.
Return Value
Returns the path. If there is no path, an empty string is returned.
Description
Extracts and returns the path portion from the specified storage name.
For example, if you pass "file://home/dee/hoge.txt", "file://home/dee/" will be returned.
Reference
Storages.extractStorageExt
Storages.extractStorageName