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

GetQuotedText()

This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.

Most ppwizard commands take "quoted parameters". This rexx function allows you to make use of this code.

The function takes one or two parameters:

  1. The string which is expected to contain the quoted value.

  2. A string containing the name of a variable which is to contain the "rest" of the string from the first parameter. If this parameter is not passed then the whole of the first parameter must have contained the quoted value or the function aborts.

The function returns the quoted string (without quotes) or dies.

Example

    ;--- We expect EXACTLY 3 parameters ---
    @@P1 = GetQuotedText(substr(@@Line,2), "Rest");
    @@P2 = GetQuotedText(Rest, "Rest");
    @@P3 = GetQuotedText(Rest);
    


[Top][Contents][Search][Prev]: GetQuotedRest()[Next]: Info()

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