Marc's Place

 

FN_E$CDS - Condense Text

Inclusion in RPG source

C /COPY E$LIB/SRC(ILE),FN_E$CDS

Invocation

EXSR E$CDS

Input Parameters

@CDS (a65)
Field in which a alphanumeric value must be stored prior to the call to E$CDS.

Output Parameters

@CDS (a65)
Field in which the condensed text is stored after processing by E$CDS.

What it does

Removes all characters but 0-9 and A-Z from a string and concatenates all remaining characters into a new string.

Examples

 *
C                     MOVEL'A B C D' @CDS
C                     EXSR E$CDS
C                     MOVEL@CDS      #FIELD           'ABCD    '
 *
 
Go to download page
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
Privacy Statement