FileExtrasTrimFileName Method |
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string TrimFileName(
string fn,
bool basepath,
bool filename,
bool extension
)
Public Shared Function TrimFileName (
fn As String,
basepath As Boolean,
filename As Boolean,
extension As Boolean
) As String
public:
static String^ TrimFileName(
String^ fn,
bool basepath,
bool filename,
bool extension
)
static member TrimFileName :
fn : string *
basepath : bool *
filename : bool *
extension : bool -> string
Parameters
- fn
- Type: SystemString
- basepath
- Type: SystemBoolean
- filename
- Type: SystemBoolean
- extension
- Type: SystemBoolean
Return Value
Type:
String
See Also