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

ArrayTranslate()

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

This routine loops through an array and performs translations you define.

This function takes one or more parameters as follows:

  1. The name of an array to be processed (without dot).

  2. This optional parameter indicates what type of space translation should occur (if not supplied "B" is used). This value should be "K" to leave whitespace alone! It can be be "BM" to remove all leading and trailing whitespace as well as removing any duplicated whitespace within the string. You can also supply "L", "T", or "B" to remove leading, trailing or both types of whitespace.

  3. This optional parameter allows you to specify that you require case translation so that all entries are either in lower or upper case. If this parameter is blank no translation is performed, if 'L' then lowercase translation and 'U' means upper case translation.

The number of items in the array is returned.


[Top][Contents][Search][Prev]: ArraySplit()[Next]: AsIs()

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