PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: $$DQX2[Next]: $$HTMLQ
\ -> Macros -> Macro Transformations -> $$FILEPART:FilePart1[,FilePart2,...]

$$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>


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: $$DQX2[Next]: $$HTMLQ


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am