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


This is an inbuilt function function provided by PPWIZARD.

This is a variation on the standard rexx "strip()" routine, the main difference being is that you can list all characters you wish to treat as spaces.

This routine converts all the characters you indicate in the supplied string to spaces and then performs a normal "strip()" operation. By default it strips null bytes ('00'x) and this is typically the main reason it would be called.

The function takes 1 or more parameters as follows:

  1. The string to be stripped.

  2. If supplied should be either 'L', 'T' or 'B' as per the rexx "strip()" call. The default value is 'B' (strip leading and trailing spaces).

  3. If supplied should be a string of one or more bytes that lists all characters you would like treated as spaces. The default value is '00'x (null byte).

The routine returns the modified string.

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

[Top][Contents][Search][Prev]: SetXCode()[Next]: StackPush()

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