[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SSFROMP()
Remove the file server name from a path string
------------------------------------------------------------------------------
Syntax
Fn_SSFromP( <cFullPath>,<@cServerName> ) -> cStrippedPath
Arguments
<cFullPath> - The path from which the server name is to be
stripped.
<cServerName> - The stripped file server name (MUST BE PASSED BY
REFERENCE!)
Returns
<cStrippedPath> - <cFullPath> less <cServerName>.
Description
This function strips the server name from the specified path.
If the path does not include a file server specification, then
the function returns the original path.
Examples
cStripped := Fn_SSFromP( "FS1/SYS:\PUBLIC",@cServer )
? cStripped // "SYS:\PUBLIC"
? cServer // "FS1"
Source: N:\SRC\MISC\SSFP.PRG
Author: Sheldon Easterbrook
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson