PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: WriteLineToTmpImportFile()[Next]: _SysFileDelete()

_filespec()

This is a rexx function provided by PPWIZARD. This routine is named similar to an OS/2 specific call with a similar purpose, this PPWIZARD version works in all operating systems supported by PPWIZARD.

This function takes two parameters as follows:

  1. The part of the filename to extract. Valid are (note you are also allowed to passed only the 1st character of each command):

  2. The name of the file.

The return value is the extracted component you requested. It is important to note that a partial filename is not converted to its full name before extraction, the part is extracted from what you supply. It is also assumed that the filename is of a valid format.

Example

    ;--- Capture some HTML information ---
    #evaluate  ShortNameHtml  ^_filespec('name', '<?OutputFile>')^
    


[Top][Contents][Search][Prev]: WriteLineToTmpImportFile()[Next]: _SysFileDelete()

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm