Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.FILE SPLIT PATHNAME | ||||||||
Line: 24 to 24 | ||||||||
<full_pathname> is the full path and file name to separate (Required). | ||||||||
Changed: | ||||||||
< < | The subroutine identifies the <file_part> by locating all the characters after the last / or \ in <full_filename>. If there aren't any in <full_pathname>, then <full_pathname> will be returned in <file_part> and <path_part> will be empty. See .FILE SPLIT FILENAME to split a file name and extension. Note that results may not be accurate if <full_pathname> contains both \ and / (ie, a Linux path that includes \ to escape characters). A Linux path like "/usr/local/\$money" will correctly return "$money", but a path like "/usr/local/\$mon\*ey" will only return "*ey". | |||||||
> > | The subroutine identifies the <file_part> by locating all the characters after the last / or \ in <full_filename>. If there aren't any in <full_pathname>, then <full_pathname> will be returned in <file_part> and <path_part> will be empty. See .FILE SPLIT FILENAME to split a file name and extension. Note that results may not be accurate if <full_pathname> contains both \ and / (ie, a Linux path that includes \ to escape characters). A Linux path like "/usr/local/\$money" will correctly return "$money", but a path like "/usr/local/\$mon\*ey" will only return "*ey". | |||||||
A 'Data was truncated' error will be returned in .FILE SPLIT PATHNAME if the fields you pass are too short to contain either the file name or path.
Comments: | ||||||||
Line: 34 to 34 | ||||||||
-- PeteBrower - 2011-08-12 \ No newline at end of file | ||||||||
Added: | ||||||||
> > |
|