SPLITPATH†
Format†
SPLITPATH( string )
Function†
- Breaks a given path string into its elements and returns it as a general purpose array.
- The four elements are "drive name", "path", "main file name", and "extension".
Arguments†
- string
- The string to be broken down.
Return value†
- If successful, a general purpose array consisting of (drive name,path,main filename,extension)
- If unsuccessful, 0
Related†
Version†
- YAYA: Available from the start
- Available in AYA5.8
Example†
_i = SPLITPATH("C:\umeici\sample\readme.txt")
_j = SPLITPATH("../../../aa/bb/cc.ddd")
_i is assigned "C:","\umeici\sample\","readme",".txt"
_j is assigned "","../../../aa/bb/","cc",".ddd"