PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
![]() | ![]() | ![]() | ![]() | ![]() |
$$FILEPART:FilePart1[,FilePart2,...] |
This is a transformation that can be applied to the substitution of content for both macros and macro parameters.
This transformation is used to extract filename "parts" as such it requires parameters to indicate which parts. No validation of any type is performed, it is assumed either that what you are tranforming is a valid looking filename or that you know what you are doing...
The parameters are one or more comma separated FilePart() parameters as the following example demonstrates:
;--- Define value --- #define FileName D:\DBAREIS\Projects\MultiOs\PPWIZARD\1.htm ;--- Use value --- As Defined : <$FileName> Short Name : <$FileName $$FilePart:name> SHORT NAME : <$FileName $$FilePart:name $$upper> Location \ : <$FileName $$FilePart:location> Location : <$FileName $$FilePart:Slashless> Name no Extn: <$FileName $$FilePart:name,withoutextn>