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

ArrayTranslate()

This is an inbuilt function function provided 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.

    To configure the case conversion see the "Upper/Lower Case Configuration" section.

The number of items in the array is returned.


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

[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)
Sunday November 05 2017 at 10:00am